<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/fmt/bundled/format.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('format_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">format.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="format_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> Formatting library for C++</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> Copyright (c) 2012 - present, Victor Zverovich</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> modification, are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> 1. Redistributions of source code must retain the above copyright notice, this</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> 2. Redistributions in binary form must reproduce the above copyright notice,</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    this list of conditions and the following disclaimer in the documentation</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#ifndef FMT_FORMAT_H_</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define FMT_FORMAT_H_</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;cstring&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#ifdef __clang__</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor"># define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="format_8h.html#a058e2c3eea88d232a1056a0bc6487e37">   43</a></span>&#160;<span class="preprocessor"># define FMT_CLANG_VERSION 0</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#ifdef __INTEL_COMPILER</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"># define FMT_ICC_VERSION __INTEL_COMPILER</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#elif defined(__ICL)</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"># define FMT_ICC_VERSION __ICL</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="format_8h.html#a061a90c1c2008acd7b0161cde41c1a11">   51</a></span>&#160;<span class="preprocessor"># define FMT_ICC_VERSION 0</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#ifdef __NVCC__</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor"># define FMT_CUDA_VERSION (__CUDACC_VER_MAJOR__ * 100 + __CUDACC_VER_MINOR__)</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="format_8h.html#af87bd0133efd40a100a5d27980c75f99">   57</a></span>&#160;<span class="preprocessor"># define FMT_CUDA_VERSION 0</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="core_8h.html">core.h</a>&quot;</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#if FMT_GCC_VERSION &gt;= 406 || FMT_CLANG_VERSION</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor"># pragma GCC diagnostic push</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">// Disable the warning about declaration shadowing because it affects too</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">// many valid cases.</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor"># pragma GCC diagnostic ignored &quot;-Wshadow&quot;</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// Disable the warning about nonliteral format strings because we construct</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">// them dynamically when falling back to snprintf for FP formatting.</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor"># pragma GCC diagnostic ignored &quot;-Wformat-nonliteral&quot;</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor"># if FMT_CLANG_VERSION</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#  pragma GCC diagnostic ignored &quot;-Wgnu-string-literal-operator-template&quot;</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#ifdef _SECURE_SCL</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor"># define FMT_SECURE_SCL _SECURE_SCL</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="format_8h.html#a47258eefd01b3b6278d8057e5c89616a">   81</a></span>&#160;<span class="preprocessor"># define FMT_SECURE_SCL 0</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#if FMT_SECURE_SCL</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor"># include &lt;iterator&gt;</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">#ifdef __has_builtin</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor"># define FMT_HAS_BUILTIN(x) __has_builtin(x)</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="format_8h.html#a160d3314a3cdbd49e187b75d6ce2a652">   91</a></span>&#160;<span class="preprocessor"># define FMT_HAS_BUILTIN(x) 0</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#ifdef __GNUC_LIBSTD__</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor"># define FMT_GNUC_LIBSTD_VERSION (__GNUC_LIBSTD__ * 100 + __GNUC_LIBSTD_MINOR__)</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#ifndef FMT_THROW</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor"># if FMT_EXCEPTIONS</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#  if FMT_MSC_VER</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<a class="code" href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Exception&gt;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> do_throw(<span class="keyword">const</span> Exception &amp;x) {</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="comment">// Silence unreachable code warnings in MSVC because these are nearly</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="comment">// impossible to fix in a generic code.</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keyword">volatile</span> <span class="keywordtype">bool</span> b = <span class="keyword">true</span>;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keywordflow">if</span> (b)</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">throw</span> x;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;}</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<a class="code" href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#   define FMT_THROW(x) fmt::internal::do_throw(x)</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#  else</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">  115</a></span>&#160;<span class="preprocessor">#   define FMT_THROW(x) throw x</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#  endif</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#  define FMT_THROW(x) do { static_cast&lt;void&gt;(sizeof(x)); assert(false); } while(false);</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#ifndef FMT_USE_USER_DEFINED_LITERALS</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">// For Intel&#39;s compiler and NVIDIA&#39;s compiler both it and the system gcc/msc</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">// must support UDLs.</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor"># if (FMT_HAS_FEATURE(cxx_user_literals) || \</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">      FMT_GCC_VERSION &gt;= 407 || FMT_MSC_VER &gt;= 1900) &amp;&amp; \</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">      (!(FMT_ICC_VERSION || FMT_CUDA_VERSION) || \</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">       FMT_ICC_VERSION &gt;= 1500 || FMT_CUDA_VERSION &gt;= 700)</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#  define FMT_USE_USER_DEFINED_LITERALS 1</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="format_8h.html#a7c29e7b4a54045f13bd664979804998d">  131</a></span>&#160;<span class="preprocessor">#  define FMT_USE_USER_DEFINED_LITERALS 0</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">// EDG C++ Front End based compilers (icc, nvcc) do not currently support UDL</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">// templates.</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#if FMT_USE_USER_DEFINED_LITERALS &amp;&amp; \</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">    FMT_ICC_VERSION == 0 &amp;&amp; \</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">    FMT_CUDA_VERSION == 0 &amp;&amp; \</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">    ((FMT_GCC_VERSION &gt;= 600 &amp;&amp; __cplusplus &gt;= 201402L) || \</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">    (defined(FMT_CLANG_VERSION) &amp;&amp; FMT_CLANG_VERSION &gt;= 304))</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor"># define FMT_UDL_TEMPLATE 1</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="format_8h.html#abc818826093af36c21cd5f464462ed35">  144</a></span>&#160;<span class="preprocessor"># define FMT_UDL_TEMPLATE 0</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#ifndef FMT_USE_EXTERN_TEMPLATES</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor"># ifndef FMT_HEADER_ONLY</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="format_8h.html#a3ae8cc1f3fba8eb2083d6a34aa73b5e1">  149</a></span>&#160;<span class="preprocessor">#  define FMT_USE_EXTERN_TEMPLATES \</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">     ((FMT_CLANG_VERSION &gt;= 209 &amp;&amp; __cplusplus &gt;= 201103L) || \</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">      (FMT_GCC_VERSION &gt;= 303 &amp;&amp; FMT_HAS_GXX_CXX11))</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">#  define FMT_USE_EXTERN_TEMPLATES 0</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#if FMT_HAS_GXX_CXX11 || FMT_HAS_FEATURE(cxx_trailing_return) || \</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">    FMT_MSC_VER &gt;= 1600</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor"># define FMT_USE_TRAILING_RETURN 1</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="format_8h.html#a8fac45c66b31da44ca3fc83ed6f7e4ab">  161</a></span>&#160;<span class="preprocessor"># define FMT_USE_TRAILING_RETURN 0</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#ifndef FMT_USE_GRISU</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="format_8h.html#a25c2cdf9765d15576333ed86298422c5">  165</a></span>&#160;<span class="preprocessor"># define FMT_USE_GRISU 0</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment">//# define FMT_USE_GRISU std::numeric_limits&lt;double&gt;::is_iec559</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">// __builtin_clz is broken in clang with Microsoft CodeGen:</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">// https://github.com/fmtlib/fmt/issues/519</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#ifndef _MSC_VER</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor"># if FMT_GCC_VERSION &gt;= 400 || FMT_HAS_BUILTIN(__builtin_clz)</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">#  define FMT_BUILTIN_CLZ(n) __builtin_clz(n)</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor"># if FMT_GCC_VERSION &gt;= 400 || FMT_HAS_BUILTIN(__builtin_clzll)</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#  define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">// Some compilers masquerade as both MSVC and GCC-likes or otherwise support</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">// __builtin_clz and __builtin_clzll, so only define FMT_BUILTIN_CLZ using the</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">// MSVC intrinsics if the clz and clzll builtins are not available.</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#if FMT_MSC_VER &amp;&amp; !defined(FMT_BUILTIN_CLZLL) &amp;&amp; !defined(_MANAGED)</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor"># include &lt;intrin.h&gt;</span>  <span class="comment">// _BitScanReverse, _BitScanReverse64</span></div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<a class="code" href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment">// Avoid Clang with Microsoft CodeGen&#39;s -Wunknown-pragmas warning.</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor"># ifndef __clang__</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#  pragma intrinsic(_BitScanReverse)</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keyword">inline</span> uint32_t clz(uint32_t x) {</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> r = 0;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  _BitScanReverse(&amp;r, x);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  assert(x != 0);</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  <span class="comment">// Static analysis complains about using uninitialized data</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  <span class="comment">// &quot;r&quot;, but the only way that can happen is if &quot;x&quot; is 0,</span></div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  <span class="comment">// which the callers guarantee to not happen.</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor"># pragma warning(suppress: 6102)</span></div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  <span class="keywordflow">return</span> 31 - r;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;}</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor"># define FMT_BUILTIN_CLZ(n) fmt::internal::clz(n)</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor"># if defined(_WIN64) &amp;&amp; !defined(__clang__)</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">#  pragma intrinsic(_BitScanReverse64)</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="keyword">inline</span> uint32_t clzll(uint64_t x) {</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> r = 0;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor"># ifdef _WIN64</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  _BitScanReverse64(&amp;r, x);</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;  <span class="comment">// Scan the high 32 bits.</span></div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  <span class="keywordflow">if</span> (_BitScanReverse(&amp;r, static_cast&lt;uint32_t&gt;(x &gt;&gt; 32)))</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keywordflow">return</span> 63 - (r + 32);</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;  <span class="comment">// Scan the low 32 bits.</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;  _BitScanReverse(&amp;r, static_cast&lt;uint32_t&gt;(x));</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor"># endif</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;  assert(x != 0);</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  <span class="comment">// Static analysis complains about using uninitialized data</span></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <span class="comment">// &quot;r&quot;, but the only way that can happen is if &quot;x&quot; is 0,</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <span class="comment">// which the callers guarantee to not happen.</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="preprocessor"># pragma warning(suppress: 6102)</span></div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;  <span class="keywordflow">return</span> 63 - r;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;}</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor"># define FMT_BUILTIN_CLZLL(n) fmt::internal::clzll(n)</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;}</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<a class="code" href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<a class="code" href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="comment">// An equivalent of `*reinterpret_cast&lt;Dest*&gt;(&amp;source)` that doesn&#39;t produce</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="comment">// undefined behavior (e.g. due to type aliasing).</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="comment">// Example: uint64_t d = bit_cast&lt;uint64_t&gt;(2.718);</span></div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Dest, <span class="keyword">typename</span> Source&gt;</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aee0ff53560cd7c3f16500a4cdbf3655e">  242</a></span>&#160;<span class="keyword">inline</span> Dest <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aee0ff53560cd7c3f16500a4cdbf3655e">bit_cast</a>(<span class="keyword">const</span> Source&amp; source) {</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;  static_assert(<span class="keyword">sizeof</span>(Dest) == <span class="keyword">sizeof</span>(Source), <span class="stringliteral">&quot;size mismatch&quot;</span>);</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;  Dest dest;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;  std::memcpy(&amp;dest, &amp;source, <span class="keyword">sizeof</span>(dest));</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;  <span class="keywordflow">return</span> dest;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;}</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">// An implementation of begin and end for pre-C++11 compilers such as gcc 4.</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> C&gt;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ae3eb46c4e73a862893cc2f99a58938a4">  251</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>(<span class="keyword">const</span> C &amp;c) -&gt; decltype(c.begin()) {</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;  <span class="keywordflow">return</span> c.begin();</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;}</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, std::<span class="keywordtype">size_t</span> N&gt;</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">  255</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> T *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>(T (&amp;array)[N]) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> { <span class="keywordflow">return</span> array; }</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> C&gt;</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">  257</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>(<span class="keyword">const</span> C &amp;c) -&gt; decltype(c.end()) { <span class="keywordflow">return</span> c.end(); }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, std::<span class="keywordtype">size_t</span> N&gt;</div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">  259</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> T *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>(T (&amp;array)[N]) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> { <span class="keywordflow">return</span> array + N; }</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">// For std::result_of in gcc 4.4.</span></div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Result&gt;</div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1function.html">  263</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1function.html">function</a> {</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1function_1_1result.html#a10b35177d5430fc9e9fee0301fa43ff2">  265</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1function_1_1result.html">result</a> { <span class="keyword">typedef</span> Result <a class="code" href="structfmt_1_1v5_1_1internal_1_1function_1_1result.html#a10b35177d5430fc9e9fee0301fa43ff2">type</a>; };</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;};</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">  268</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a> {</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html#a9bcdf394ef31a10161975dcdbed86c25">  269</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1basic__data.html">data</a>[2];</div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html#a8ffacae23e99063873616b2a3096fc93">  270</a></span>&#160;  <span class="keyword">operator</span> int()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; }</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;};</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a876de4b97bc3e1f22ff5879b47db9093">  272</a></span>&#160;<span class="keyword">typedef</span> std::numeric_limits&lt;internal::dummy_int&gt; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a876de4b97bc3e1f22ff5879b47db9093">fputil</a>;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">// Dummy implementations of system functions called if the latter are not</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment">// available.</span></div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a8f8fa329c4f6a82b5f4b07e2624b92f6">  276</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8f8fa329c4f6a82b5f4b07e2624b92f6">isinf</a>(...) { <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a>(); }</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a4750c83c90c5d48c7af7389dff6c0ba8">  277</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4750c83c90c5d48c7af7389dff6c0ba8">_finite</a>(...) { <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a>(); }</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a76566374391410329d8c41e612b24101">  278</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a76566374391410329d8c41e612b24101">isnan</a>(...) { <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a>(); }</div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a8766cc653a2cb47cefc94592e5125239">  279</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8766cc653a2cb47cefc94592e5125239">_isnan</a>(...) { <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">dummy_int</a>(); }</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Allocator&gt;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aa1fa61dacd2056cf7bbc9010b6c3e9ff">  282</a></span>&#160;<span class="keyword">typename</span> Allocator::value_type *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa1fa61dacd2056cf7bbc9010b6c3e9ff">allocate</a>(Allocator&amp; alloc, std::size_t n) {</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">#if __cplusplus &gt;= 201103L || FMT_MSC_VER &gt;= 1700</span></div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa1fa61dacd2056cf7bbc9010b6c3e9ff">std::allocator_traits&lt;Allocator&gt;::allocate</a>(alloc, n);</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;  <span class="keywordflow">return</span> alloc.allocate(n);</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;}</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="comment">// A helper function to suppress bogus &quot;conditional expression is constant&quot;</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment">// warnings.</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a8d6d08e76d5ee6a3289c5e010e6db950">  293</a></span>&#160;<span class="keyword">inline</span> T <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8d6d08e76d5ee6a3289c5e010e6db950">const_check</a>(T <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>) { <span class="keywordflow">return</span> value; }</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;}  <span class="comment">// namespace internal</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<a class="code" href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="namespacestd.html">  297</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacestd.html">std</a> {</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment">// Standard permits specialization of std::numeric_limits. This specialization</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment">// is used to resolve ambiguity between isinf and std::isinf in glibc:</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="comment">// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="comment">// and the same for isnan.</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html">  303</a></span>&#160;<span class="keyword">class </span>numeric_limits&lt;<a class="code" href="namespacefmt.html">fmt</a>::internal::dummy_int&gt; :</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keyword">public</span> std::numeric_limits&lt;int&gt; {</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  <span class="comment">// Portable version of isinf.</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#ab87acbb0e3b785468702511d2ba20c43">  308</a></span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#ab87acbb0e3b785468702511d2ba20c43">isinfinity</a>(T x) {</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keyword">using namespace </span>fmt::internal;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="comment">// The resolution &quot;priority&quot; is:</span></div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="comment">// isinf macro &gt; std::isinf &gt; ::isinf &gt; fmt::internal::isinf</span></div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8d6d08e76d5ee6a3289c5e010e6db950">const_check</a>(<span class="keyword">sizeof</span>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8f8fa329c4f6a82b5f4b07e2624b92f6">isinf</a>(x)) != <span class="keyword">sizeof</span>(fmt::internal::dummy_int)))</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8f8fa329c4f6a82b5f4b07e2624b92f6">isinf</a>(x) != 0;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <span class="keywordflow">return</span> !<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4750c83c90c5d48c7af7389dff6c0ba8">_finite</a>(static_cast&lt;double&gt;(x));</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;  }</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;  <span class="comment">// Portable version of isnan.</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#a66bfe9a9db1167477806c1973002e941">  319</a></span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#a66bfe9a9db1167477806c1973002e941">isnotanumber</a>(T x) {</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keyword">using namespace </span>fmt::internal;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8d6d08e76d5ee6a3289c5e010e6db950">const_check</a>(<span class="keyword">sizeof</span>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a76566374391410329d8c41e612b24101">isnan</a>(x)) != <span class="keyword">sizeof</span>(fmt::internal::dummy_int)))</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a76566374391410329d8c41e612b24101">isnan</a>(x) != 0;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8766cc653a2cb47cefc94592e5125239">_isnan</a>(static_cast&lt;double&gt;(x)) != 0;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;  }</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;};</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;}  <span class="comment">// namespace std</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<a class="code" href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html">  330</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer</a>;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> T = <span class="keyword">typename</span> OutputIt::value_type&gt;</div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1output__range.html">  333</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range</a> {</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;  OutputIt it_;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;  <span class="comment">// Unused yet.</span></div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">void</span> sentinel;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;  sentinel <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1output__range.html#a001ad2356c56ce8aa89a3e89487ce8d8">  342</a></span>&#160;  <span class="keyword">typedef</span> OutputIt <a class="code" href="classfmt_1_1v5_1_1output__range.html#a001ad2356c56ce8aa89a3e89487ce8d8">iterator</a>;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1output__range.html#acd03d46c6de53cdc7dccc5890a9df377">  343</a></span>&#160;  <span class="keyword">typedef</span> T <a class="code" href="classfmt_1_1v5_1_1output__range.html#acd03d46c6de53cdc7dccc5890a9df377">value_type</a>;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1output__range.html#a1c35641258830babeb553b03a6bc802b">  345</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html#a1c35641258830babeb553b03a6bc802b">output_range</a>(OutputIt it): it_(it) {}</div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1output__range.html#ac2080a7135621bbee487a25bfd0d34e7">  346</a></span>&#160;  OutputIt <a class="code" href="classfmt_1_1v5_1_1output__range.html#ac2080a7135621bbee487a25bfd0d34e7">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> it_; }</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;};</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="comment">// A range where begin() returns back_insert_iterator.</span></div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Container&gt;</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1back__insert__range.html">  351</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1back__insert__range.html">back_insert_range</a>:</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range</a>&lt;std::back_insert_iterator&lt;Container&gt;&gt; {</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range&lt;std::back_insert_iterator&lt;Container&gt;</a>&gt; <a class="code" href="classfmt_1_1v5_1_1output__range.html">base</a>;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1back__insert__range.html#a7dbc83149304d1f6fff9d3ba81cc4e23">  355</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> Container::value_type <a class="code" href="classfmt_1_1v5_1_1back__insert__range.html#a7dbc83149304d1f6fff9d3ba81cc4e23">value_type</a>;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1back__insert__range.html#a7ac1989e9b9da2e27d42113a75ff8f33">  357</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1back__insert__range.html#a7ac1989e9b9da2e27d42113a75ff8f33">back_insert_range</a>(Container &amp;c): base(<a class="code" href="namespacestd.html">std</a>::back_inserter(c)) {}</div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1back__insert__range.html#abc01c2e16db484f994b86a47b133acab">  358</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1back__insert__range.html#abc01c2e16db484f994b86a47b133acab">back_insert_range</a>(<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html#a001ad2356c56ce8aa89a3e89487ce8d8">base::iterator</a> it): base(it) {}</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;};</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">  361</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer&lt;back_insert_range&lt;internal::buffer&gt;</a>&gt; <a class="code" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">writer</a>;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a0fd504293f21ab24279d713171185c27">  362</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer&lt;back_insert_range&lt;internal::wbuffer&gt;</a>&gt; <a class="code" href="namespacefmt_1_1v5.html#a0fd504293f21ab24279d713171185c27">wwriter</a>;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__error.html">  365</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1format__error.html">format_error</a> : <span class="keyword">public</span> std::runtime_error {</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__error.html#acbee2a23971909898b5cf189d68c38de">  367</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__error.html#acbee2a23971909898b5cf189d68c38de">format_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message)</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;  : <a class="code" href="namespacestd.html">std</a>::runtime_error(message) {}</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__error.html#a70224f7e2be8328affe003bbd7224b70">  370</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__error.html#a70224f7e2be8328affe003bbd7224b70">format_error</a>(<span class="keyword">const</span> std::string &amp;message)</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;  : <a class="code" href="namespacestd.html">std</a>::runtime_error(message) {}</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;};</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="preprocessor">#if FMT_SECURE_SCL</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="keyword">struct </span>checked { <span class="keyword">typedef</span> stdext::checked_array_iterator&lt;T*&gt; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>; };</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="comment">// Make a checked iterator to avoid warnings on MSVC.</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="keyword">inline</span> stdext::checked_array_iterator&lt;T*&gt; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">make_checked</a>(T *p, std::size_t size) {</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;  <span class="keywordflow">return</span> {p, size};</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;}</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1checked.html#ae50049ee2def62be6532372564182cac">  387</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1checked.html">checked</a> { <span class="keyword">typedef</span> T *<a class="code" href="structfmt_1_1v5_1_1internal_1_1checked.html#ae50049ee2def62be6532372564182cac">type</a>; };</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">  389</a></span>&#160;<span class="keyword">inline</span> T *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">make_checked</a>(T *p, std::size_t) { <span class="keywordflow">return</span> p; }</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a5c6d1a6230a4c8e713244bbdd63a1a24">  394</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">basic_buffer&lt;T&gt;::append</a>(<span class="keyword">const</span> U *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> U *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>) {</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;  std::size_t new_size = size_ + <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(end - begin);</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(new_size);</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;  std::uninitialized_copy(begin, end,</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;                          <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">internal::make_checked</a>(ptr_, capacity_) + size_);</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;  size_ = new_size;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;}</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;}  <span class="comment">// namespace internal</span></div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;<span class="comment">// C++20 feature test, since r346892 Clang considers char8_t a fundamental</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="comment">// type in this mode. If this is the case __cpp_char8_t will be defined.</span></div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="preprocessor">#if !defined(__cpp_char8_t)</span></div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;<span class="comment">// A UTF-8 code unit type.</span></div><div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">  407</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a>: <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> {};</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;<span class="comment">// A UTF-8 string view.</span></div><div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1u8string__view.html">  411</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1u8string__view.html">u8string_view</a> : <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view</a>&lt;char8_t&gt; {</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1u8string__view.html#aa0aaed9e4977fa2cbec789178ea3b694">  413</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a> <a class="code" href="classfmt_1_1v5_1_1u8string__view.html#aa0aaed9e4977fa2cbec789178ea3b694">char_type</a>;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1u8string__view.html#ace3a1b7f6bca7b364411dd7bca8eb666">  415</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1u8string__view.html#ace3a1b7f6bca7b364411dd7bca8eb666">u8string_view</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s):</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view</a>&lt;<a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a>&gt;(reinterpret_cast&lt;const <a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a>*&gt;(s)) {}</div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1u8string__view.html#a7d8fc1c8138683c75574261561e78652">  417</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1u8string__view.html#a7d8fc1c8138683c75574261561e78652">u8string_view</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> count) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>:</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char8_t&gt;</a>(<span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span><a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a>*<span class="keyword">&gt;</span>(s), count) {}</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;};</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;<span class="preprocessor">#if FMT_USE_USER_DEFINED_LITERALS</span></div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;<span class="keyword">inline</span> <span class="keyword">namespace </span>literals {</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;<span class="keyword">inline</span> <a class="code" href="classfmt_1_1v5_1_1u8string__view.html">u8string_view</a> <span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span> _u(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, std::size_t n) {</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;  <span class="keywordflow">return</span> {s, n};</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;}</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;}</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;<span class="comment">// The number of characters to store in the basic_memory_buffer object itself</span></div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="comment">// to avoid dynamic memory allocation.</span></div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0">  431</a></span>&#160;<span class="keyword">enum</span> { <a class="code" href="namespacefmt_1_1v5.html#ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0">inline_buffer_size</a> = 500 };</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, std::size_t SIZE = <a class="code" href="namespacefmt_1_1v5.html#ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0">inline_buffer_size</a>,</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;          <span class="keyword">typename</span> Allocator = std::allocator&lt;T&gt; &gt;</div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html">  464</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer</a>: <span class="keyword">private</span> Allocator, <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::basic_buffer</a>&lt;T&gt; {</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;  T store_[SIZE];</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;  <span class="comment">// Deallocate memory allocated by the buffer.</span></div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;  <span class="keywordtype">void</span> deallocate() {</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    T* <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a> = this-&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a>();</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    <span class="keywordflow">if</span> (data != store_) Allocator::deallocate(data, this-&gt;capacity());</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;  }</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;  <span class="keywordtype">void</span> grow(std::size_t size) <a class="code" href="core_8h.html#a023c6c178e254d81d578b90921804b1c">FMT_OVERRIDE</a>;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#aecaa097e427d00d791de417e5ea9034c">  478</a></span>&#160;  <span class="keyword">typedef</span> T <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#aecaa097e427d00d791de417e5ea9034c">value_type</a>;</div><div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a137e3161cc2723cb0b0ec2561f879348">  479</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">const</span> T &amp;<a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a137e3161cc2723cb0b0ec2561f879348">const_reference</a>;</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;</div><div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#ad1d2a73db09717e1222e62d8e0f64e27">  481</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#ad1d2a73db09717e1222e62d8e0f64e27">basic_memory_buffer</a>(<span class="keyword">const</span> Allocator &amp;alloc = Allocator())</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;      : Allocator(alloc) {</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;    this-&gt;<span class="keyword">set</span>(store_, SIZE);</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;  }</div><div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a16dc183a56fba190395fdea7629f69ca">  485</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a16dc183a56fba190395fdea7629f69ca">~basic_memory_buffer</a>() { deallocate(); }</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;  <span class="comment">// Move data from other to this buffer.</span></div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;  <span class="keywordtype">void</span> move(<a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer</a> &amp;other) {</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    Allocator &amp;this_alloc = *<span class="keyword">this</span>, &amp;other_alloc = other;</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    this_alloc = std::move(other_alloc);</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    T* <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a> = other.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a384f1304da6ce18c4713368327354479">data</a>();</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;    std::size_t size = other.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>(), capacity = other.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#ab290639836614e4190a3ae226883ce41">capacity</a>();</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <span class="keywordflow">if</span> (data == other.store_) {</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;      this-&gt;<span class="keyword">set</span>(store_, capacity);</div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;      std::uninitialized_copy(other.store_, other.store_ + size,</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;                              <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">internal::make_checked</a>(store_, capacity));</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;      this-&gt;<span class="keyword">set</span>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a>, capacity);</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;      <span class="comment">// Set pointer to the inline array so that delete is not called</span></div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;      <span class="comment">// when deallocating.</span></div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;      other.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#aeadf1e58eae72ef94f9e2c01ad7921c6">set</a>(other.store_, 0);</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    }</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    this-&gt;resize(size);</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;  }</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a4a840dd1d757f57f9ceee5da7442a9d1">  514</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a4a840dd1d757f57f9ceee5da7442a9d1">basic_memory_buffer</a>(<a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer</a> &amp;&amp;other) {</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    move(other);</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;  }</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a04e7e682d636a65fa60fb0a5b78fa98d">  523</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer</a> &amp;<a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a04e7e682d636a65fa60fb0a5b78fa98d">operator=</a>(<a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer</a> &amp;&amp;other) {</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    assert(<span class="keyword">this</span> != &amp;other);</div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;    deallocate();</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    move(other);</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;  }</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;  <span class="comment">// Returns a copy of the allocator associated with this buffer.</span></div><div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a094c0255ada00199f99d6ec48f00d852">  531</a></span>&#160;  Allocator <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html#a094c0255ada00199f99d6ec48f00d852">get_allocator</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;};</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, std::<span class="keywordtype">size_t</span> SIZE, <span class="keyword">typename</span> Allocator&gt;</div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__memory__buffer.html#aeeb97ae704fbe2d83c32dd2adbfdff7d">  535</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;T, SIZE, Allocator&gt;::grow</a>(std::size_t size) {</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;  std::size_t old_capacity = this-&gt;capacity();</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;  std::size_t new_capacity = old_capacity + old_capacity / 2;</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;  <span class="keywordflow">if</span> (size &gt; new_capacity)</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;      new_capacity = size;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;  T *old_data = this-&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a>();</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;  T *new_data = internal::allocate&lt;Allocator&gt;(*<span class="keyword">this</span>, new_capacity);</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;  <span class="comment">// The following code doesn&#39;t throw, so the raw pointer above doesn&#39;t leak.</span></div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;  std::uninitialized_copy(old_data, old_data + this-&gt;size(),</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;                          <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">internal::make_checked</a>(new_data, new_capacity));</div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;  this-&gt;<span class="keyword">set</span>(new_data, new_capacity);</div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;  <span class="comment">// deallocate must not throw according to the standard, but even if it does,</span></div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;  <span class="comment">// the buffer already uses the new storage and will deallocate it in</span></div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;  <span class="comment">// destructor.</span></div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;  <span class="keywordflow">if</span> (old_data != store_)</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    Allocator::deallocate(old_data, old_capacity);</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;}</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;</div><div class="line"><a name="l00553"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a87104ff0bbd588f55bbbadf592227d75">  553</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;char&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#a87104ff0bbd588f55bbbadf592227d75">memory_buffer</a>;</div><div class="line"><a name="l00554"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aee7e37f3db0fc1ce34674f6b82c1f407">  554</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;wchar_t&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#aee7e37f3db0fc1ce34674f6b82c1f407">wmemory_buffer</a>;</div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;</div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">  559</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits</a>;</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1char__traits_3_01char_01_4.html">  562</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits</a>&lt;char&gt; {</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;  <span class="comment">// Formats a floating-point number.</span></div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">static</span> <span class="keywordtype">int</span> format_float(<span class="keywordtype">char</span> *<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">buffer</a>, std::size_t size,</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;      <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision, T <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;};</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00570"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1char__traits_3_01wchar__t_01_4.html">  570</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits</a>&lt;wchar_t&gt; {</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">static</span> <span class="keywordtype">int</span> format_float(<span class="keywordtype">wchar_t</span> *<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">buffer</a>, std::size_t size,</div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;      <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *<a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision, T <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;};</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;<span class="preprocessor">#if FMT_USE_EXTERN_TEMPLATES</span></div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;<span class="keyword">extern</span> <span class="keyword">template</span> <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits&lt;char&gt;::format_float</a>&lt;<span class="keywordtype">double</span>&gt;(</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t size, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision,</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="keyword">extern</span> <span class="keyword">template</span> <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits&lt;char&gt;::format_float</a>&lt;<span class="keywordtype">long</span> <span class="keywordtype">double</span>&gt;(</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t size, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision,</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;    <span class="keywordtype">long</span> <span class="keywordtype">double</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;<span class="keyword">extern</span> <span class="keyword">template</span> <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits&lt;wchar_t&gt;::format_float</a>&lt;<span class="keywordtype">double</span>&gt;(</div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;    <span class="keywordtype">wchar_t</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t size, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision,</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;<span class="keyword">extern</span> <span class="keyword">template</span> <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__traits.html">char_traits&lt;wchar_t&gt;::format_float</a>&lt;<span class="keywordtype">long</span> <span class="keywordtype">double</span>&gt;(</div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;    <span class="keywordtype">wchar_t</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t size, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>, <span class="keywordtype">int</span> precision,</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <span class="keywordtype">long</span> <span class="keywordtype">double</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>);</div><div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Container&gt;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1is__contiguous.html">is_contiguous&lt;Container&gt;::value</a>,</div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;  <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1checked.html#ae50049ee2def62be6532372564182cac">checked&lt;typename Container::value_type&gt;::type</a>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l00596"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a9eee3495bac20bffa3ab73cedf950d75">  596</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(std::back_insert_iterator&lt;Container&gt; &amp;it, std::size_t n) {</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;  Container &amp;c = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0ea486bdd96af45e228fa60a3ca90c6e">internal::get_container</a>(it);</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;  std::size_t size = c.size();</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;  c.resize(size + n);</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">make_checked</a>(&amp;c[size], n);</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;}</div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Iterator&gt;</div><div class="line"><a name="l00604"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">  604</a></span>&#160;<span class="keyword">inline</span> Iterator &amp;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(Iterator &amp;it, std::size_t) { <span class="keywordflow">return</span> it; }</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1null__terminating__iterator.html">  607</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1null__terminating__iterator.html">null_terminating_iterator</a>;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;<a class="code" href="core_8h.html#af4388801466a5994a363d6005616371a">FMT_CONSTEXPR_DECL</a> <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a91182ac859ac969e4f719d61cad002e1">pointer_from</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1null__terminating__iterator.html">null_terminating_iterator&lt;Char&gt;</a> it);</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="comment">// An output iterator that counts the number of objects written to it and</span></div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="comment">// discards them.</span></div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00615"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">  615</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">counting_iterator</a> {</div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;  std::size_t count_;</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;  <span class="keyword">mutable</span> T blackhole_;</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00621"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#affb43cc051a4c3adef65ef36096724dc">  621</a></span>&#160;  <span class="keyword">typedef</span> std::output_iterator_tag <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#affb43cc051a4c3adef65ef36096724dc">iterator_category</a>;</div><div class="line"><a name="l00622"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a13f8c5691061c696945f38159080fe2e">  622</a></span>&#160;  <span class="keyword">typedef</span> T <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a13f8c5691061c696945f38159080fe2e">value_type</a>;</div><div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ae0812a3e1c2651b160e6a4a617fde5c3">  623</a></span>&#160;  <span class="keyword">typedef</span> std::ptrdiff_t <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ae0812a3e1c2651b160e6a4a617fde5c3">difference_type</a>;</div><div class="line"><a name="l00624"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a07ebb1da97cc649df20f1f8c6f03e465">  624</a></span>&#160;  <span class="keyword">typedef</span> T* <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a07ebb1da97cc649df20f1f8c6f03e465">pointer</a>;</div><div class="line"><a name="l00625"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a81db3ee5c66069e844af366c6ffb1dce">  625</a></span>&#160;  <span class="keyword">typedef</span> T&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a81db3ee5c66069e844af366c6ffb1dce">reference</a>;</div><div class="line"><a name="l00626"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a88b962009c4abb5b83981b8952bbb1ee">  626</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">counting_iterator</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a88b962009c4abb5b83981b8952bbb1ee">_Unchecked_type</a>;  <span class="comment">// Mark iterator as checked.</span></div><div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;</div><div class="line"><a name="l00628"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a9d2f0224d9f4a23484dc28c67ac81f13">  628</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a9d2f0224d9f4a23484dc28c67ac81f13">counting_iterator</a>(): count_(0) {}</div><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;</div><div class="line"><a name="l00630"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a51100408c41b02a57706c9056f49f68a">  630</a></span>&#160;  std::size_t <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a51100408c41b02a57706c9056f49f68a">count</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> count_; }</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;</div><div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a5f49bbf0aec176d242443c81811b439c">  632</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">counting_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a5f49bbf0aec176d242443c81811b439c">operator++</a>() {</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    ++count_;</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;  }</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;</div><div class="line"><a name="l00637"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ab92c73e74847673855c24767e21430dd">  637</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">counting_iterator</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ab92c73e74847673855c24767e21430dd">operator++</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    <span class="keyword">auto</span> it = *<span class="keyword">this</span>;</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;    ++*<span class="keyword">this</span>;</div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;    <span class="keywordflow">return</span> it;</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;  }</div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;</div><div class="line"><a name="l00643"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ad5e116609d012ecd0316ec8fb70b06f9">  643</a></span>&#160;  T &amp;<a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ad5e116609d012ecd0316ec8fb70b06f9">operator*</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> blackhole_; }</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;};</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">  647</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a> {</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00649"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a1549daf80c73bb341ed33dbe97d9c8a5">  649</a></span>&#160;  OutputIt <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a1549daf80c73bb341ed33dbe97d9c8a5">out_</a>;</div><div class="line"><a name="l00650"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a24832c279c6143d905912d3181872f44">  650</a></span>&#160;  std::size_t <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a24832c279c6143d905912d3181872f44">limit_</a>;</div><div class="line"><a name="l00651"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a16eabcb848e779b567918d0935904b7b">  651</a></span>&#160;  std::size_t <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a16eabcb848e779b567918d0935904b7b">count_</a>;</div><div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;</div><div class="line"><a name="l00653"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9722e33a6fdfb563b8db59829f133711">  653</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9722e33a6fdfb563b8db59829f133711">truncating_iterator_base</a>(OutputIt out, std::size_t limit)</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    : out_(out), limit_(limit), count_(0) {}</div><div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;</div><div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00657"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a8abc6756a3aee78332053104ecfce661">  657</a></span>&#160;  <span class="keyword">typedef</span> std::output_iterator_tag <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a8abc6756a3aee78332053104ecfce661">iterator_category</a>;</div><div class="line"><a name="l00658"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9b0fdd9f2efbd8d05a5184bf12b375fe">  658</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9b0fdd9f2efbd8d05a5184bf12b375fe">difference_type</a>;</div><div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#acfec8964ca97b0ea4a08d2efff4ba6ba">  659</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#acfec8964ca97b0ea4a08d2efff4ba6ba">pointer</a>;</div><div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#aa891dd373534efdbf8a03c9b1b5a77fa">  660</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#aa891dd373534efdbf8a03c9b1b5a77fa">reference</a>;</div><div class="line"><a name="l00661"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a09ce2b9fd471cbd9603739d41288a72c">  661</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a09ce2b9fd471cbd9603739d41288a72c">_Unchecked_type</a>; <span class="comment">// Mark iterator as checked.</span></div><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;</div><div class="line"><a name="l00663"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a7c53dfb46eb6438dbab9ac6b8359ddec">  663</a></span>&#160;  OutputIt <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a7c53dfb46eb6438dbab9ac6b8359ddec">base</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> out_; }</div><div class="line"><a name="l00664"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#ab45d5f8ca7d6b6838ddc122f1bd60fe9">  664</a></span>&#160;  std::size_t <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#ab45d5f8ca7d6b6838ddc122f1bd60fe9">count</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> count_; }</div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;};</div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;</div><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;<span class="comment">// An output iterator that truncates the output and counts the number of objects</span></div><div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;<span class="comment">// written to it.</span></div><div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Enable = <span class="keyword">typename</span> std::is_void&lt;</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    <span class="keyword">typename</span> std::iterator_traits&lt;OutputIt&gt;::value_type&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a>&gt;</div><div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">  671</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>;</div><div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l00674"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html">  674</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&lt;OutputIt, <a class="code" href="namespacestd.html">std</a>::false_type&gt;:</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;  <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a>&lt;OutputIt&gt; {</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;  <span class="keyword">typedef</span> std::iterator_traits&lt;OutputIt&gt; traits;</div><div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;  <span class="keyword">mutable</span> <span class="keyword">typename</span> traits::value_type blackhole_;</div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5f21fb8af92548caefb494b1e49814b6">  681</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> traits::value_type <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5f21fb8af92548caefb494b1e49814b6">value_type</a>;</div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;</div><div class="line"><a name="l00683"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5a99af3c33a7e15fcaa77a387a70c4f7">  683</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5a99af3c33a7e15fcaa77a387a70c4f7">truncating_iterator</a>(OutputIt out, std::size_t limit)</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;    : <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a>&lt;OutputIt&gt;(out, limit) {}</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;</div><div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a3e3eaa69e1f7a8302cc9be5f0ce76a98">  686</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a3e3eaa69e1f7a8302cc9be5f0ce76a98">operator++</a>() {</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    <span class="keywordflow">if</span> (this-&gt;count_++ &lt; this-&gt;limit_)</div><div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;      ++this-&gt;out_;</div><div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;  }</div><div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;</div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ab2c94df15db5ebd65b8f4164cc16431d">  692</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ab2c94df15db5ebd65b8f4164cc16431d">operator++</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;    <span class="keyword">auto</span> it = *<span class="keyword">this</span>;</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    ++*<span class="keyword">this</span>;</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    <span class="keywordflow">return</span> it;</div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;  }</div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ae2f651fb97847c60205bf3f76b2efe1e">  698</a></span>&#160;  value_type&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ae2f651fb97847c60205bf3f76b2efe1e">operator*</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    <span class="keywordflow">return</span> this-&gt;count_ &lt; this-&gt;limit_ ? *this-&gt;out_ : blackhole_;</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;  }</div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;};</div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;</div><div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l00704"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html">  704</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&lt;OutputIt, <a class="code" href="namespacestd.html">std</a>::true_type&gt;:</div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;  <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a>&lt;OutputIt&gt; {</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00707"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#af1785abde70457e336e28c9e3640e155">  707</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputIt::container_type::value_type <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#af1785abde70457e336e28c9e3640e155">value_type</a>;</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;</div><div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9284d872ba9a7fc8e42a9d9a5d7777de">  709</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9284d872ba9a7fc8e42a9d9a5d7777de">truncating_iterator</a>(OutputIt out, std::size_t limit)</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    : <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">truncating_iterator_base</a>&lt;OutputIt&gt;(out, limit) {}</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;</div><div class="line"><a name="l00712"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9135efbc2c3a9c304e49eb092c85131d">  712</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9135efbc2c3a9c304e49eb092c85131d">operator=</a>(value_type val) {</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    <span class="keywordflow">if</span> (this-&gt;count_++ &lt; this-&gt;limit_)</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;      this-&gt;out_ = val;</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;  }</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#adacdaff3cef2aca38eb851d4b2f38cac">  718</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#adacdaff3cef2aca38eb851d4b2f38cac">operator++</a>() { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00719"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a2314451849f79cbc4c302dc97dff64c7">  719</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a2314451849f79cbc4c302dc97dff64c7">operator++</a>(<span class="keywordtype">int</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00720"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a4c02b24faa406024deeccaa6aa016096">  720</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">truncating_iterator</a>&amp; <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a4c02b24faa406024deeccaa6aa016096">operator*</a>() { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;};</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;</div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;<span class="comment">// Returns true if value is negative, false otherwise.</span></div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;<span class="comment">// Same as (value &lt; 0) but doesn&#39;t produce warnings if T is an unsigned type.</span></div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l00727"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a58d822138c8882afb5559c4b1d7729cc">  727</a></span>&#160;    std::numeric_limits&lt;T&gt;::is_signed, <span class="keywordtype">bool</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">is_negative</a>(T <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>) {</div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;  <span class="keywordflow">return</span> value &lt; 0;</div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;}</div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">  732</a></span>&#160;    !std::numeric_limits&lt;T&gt;::is_signed, <span class="keywordtype">bool</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">is_negative</a>(T) {</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;}</div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div><div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00737"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1int__traits.html">  737</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1int__traits.html">int_traits</a> {</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;  <span class="comment">// Smallest of uint32_t and uint64_t that is large enough to represent</span></div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;  <span class="comment">// all values of T.</span></div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> std::conditional&lt;</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;    std::numeric_limits&lt;T&gt;::digits &lt;= 32, uint32_t, uint64_t&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> main_type;</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;};</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;</div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;<span class="comment">// Static data is placed in this class template to allow header-only</span></div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;<span class="comment">// configuration.</span></div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T = <span class="keywordtype">void</span>&gt;</div><div class="line"><a name="l00747"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html">  747</a></span>&#160;<span class="keyword">struct </span><a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1basic__data.html">basic_data</a> {</div><div class="line"><a name="l00748"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a195c2b45ae9bb0a953156d3ae7eb35ca">  748</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t POWERS_OF_10_32[];</div><div class="line"><a name="l00749"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a7c75c3b052395aa783f67d1221946c27">  749</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t ZERO_OR_POWERS_OF_10_32[];</div><div class="line"><a name="l00750"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#aff0c2d26ec88801043953054e3bcc971">  750</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> uint64_t ZERO_OR_POWERS_OF_10_64[];</div><div class="line"><a name="l00751"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a4984044ce1b065540381b3694eb994b0">  751</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> uint64_t POW10_SIGNIFICANDS[];</div><div class="line"><a name="l00752"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#ae51c63ec91f02e2dad5c1d3eedb7b532">  752</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> int16_t POW10_EXPONENTS[];</div><div class="line"><a name="l00753"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#ad815e597b46d92023beb025b464b4520">  753</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> DIGITS[];</div><div class="line"><a name="l00754"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#ad9d536a7e57a5e2dd100c1cbbb4f1100">  754</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> FOREGROUND_COLOR[];</div><div class="line"><a name="l00755"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a5ea6f88946a0959275332ac157eb9775">  755</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> BACKGROUND_COLOR[];</div><div class="line"><a name="l00756"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a6da82443fd09335fe5cbe3fe39cbc97b">  756</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> RESET_COLOR[];</div><div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1basic__data.html#a684a3b8ed9c908d5c1d4aea407ac18ae">  757</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> WRESET_COLOR[];</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;};</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;<span class="preprocessor">#if FMT_USE_EXTERN_TEMPLATES</span></div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;<span class="keyword">extern</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1basic__data.html">basic_data&lt;void&gt;</a>;</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;</div><div class="line"><a name="l00764"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">  764</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1basic__data.html">basic_data&lt;&gt;</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a>;</div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;<span class="preprocessor">#ifdef FMT_BUILTIN_CLZLL</span></div><div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;<span class="comment">// Returns the number of decimal digits in n. Leading zeros are not counted</span></div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;<span class="comment">// except for n == 0 in which case count_digits returns 1.</span></div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">count_digits</a>(uint64_t n) {</div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;  <span class="comment">// Based on http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog10</span></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;  <span class="comment">// and the benchmark https://github.com/localvoid/cxx-benchmark-count-digits.</span></div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;  <span class="keywordtype">int</span> t = (64 - FMT_BUILTIN_CLZLL(n | 1)) * 1233 &gt;&gt; 12;</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;  <span class="keywordflow">return</span> t - (n &lt; data::ZERO_OR_POWERS_OF_10_64[t]) + 1;</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;}</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="comment">// Fallback version of count_digits used when __builtin_clz is not available.</span></div><div class="line"><a name="l00777"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">  777</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">count_digits</a>(uint64_t n) {</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;  <span class="keywordtype">int</span> count = 1;</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;  <span class="keywordflow">for</span> (;;) {</div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;    <span class="comment">// Integer division is slow so do it for a group of four digits instead</span></div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;    <span class="comment">// of for every digit. The idea comes from the talk by Alexandrescu</span></div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;    <span class="comment">// &quot;Three Optimization Tips for C++&quot;. See speed-test for a comparison.</span></div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;    <span class="keywordflow">if</span> (n &lt; 10) <span class="keywordflow">return</span> count;</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;    <span class="keywordflow">if</span> (n &lt; 100) <span class="keywordflow">return</span> count + 1;</div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;    <span class="keywordflow">if</span> (n &lt; 1000) <span class="keywordflow">return</span> count + 2;</div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    <span class="keywordflow">if</span> (n &lt; 10000) <span class="keywordflow">return</span> count + 3;</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;    n /= 10000u;</div><div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;    count += 4;</div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;  }</div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;}</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;</div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00794"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a6c2c4c3c6a5dc4e3559ed105c44c4d9e">  794</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">size_t</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aca60c11758ae1d5b422178e883252bba">count_code_points</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> s) { <span class="keywordflow">return</span> s.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>(); }</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;</div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;<span class="comment">// Counts the number of code points in a UTF-8 string.</span></div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">size_t</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aca60c11758ae1d5b422178e883252bba">count_code_points</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char8_t&gt;</a> s);</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;</div><div class="line"><a name="l00799"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#adc534aad72fd5f9db229cc9edf622771">  799</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#adc534aad72fd5f9db229cc9edf622771">to_char8_t</a>(<span class="keywordtype">char</span> c) { <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">char8_t</a><span class="keyword">&gt;</span>(c); }</div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;</div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> InputIt, <span class="keyword">typename</span> OutChar&gt;</div><div class="line"><a name="l00802"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1needs__conversion.html">  802</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1needs__conversion.html">needs_conversion</a>: std::integral_constant&lt;bool,</div><div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;  std::is_same&lt;</div><div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;    <span class="keyword">typename</span> std::iterator_traits&lt;InputIt&gt;::value_type, <span class="keywordtype">char</span>&gt;<a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">::value</a> &amp;&amp;</div><div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;  std::is_same&lt;OutChar, char8_t&gt;::value&gt; {};</div><div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;</div><div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutChar, <span class="keyword">typename</span> InputIt, <span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;<span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;  !<a class="code" href="structfmt_1_1v5_1_1internal_1_1needs__conversion.html">needs_conversion&lt;InputIt, OutChar&gt;::value</a>, OutputIt&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l00810"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a32fc9971391c76e82f000d301ebe6a4c">  810</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0a4fd70e18eba9d0da494fcb4f0fc32c">copy_str</a>(InputIt <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, InputIt <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, OutputIt it) {</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#afe980acdb2bb4cb83729a07c105159d1">std::copy</a>(begin, end, it);</div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;}</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutChar, <span class="keyword">typename</span> InputIt, <span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;<span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1needs__conversion.html">needs_conversion&lt;InputIt, OutChar&gt;::value</a>, OutputIt&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l00817"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a0a4fd70e18eba9d0da494fcb4f0fc32c">  817</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0a4fd70e18eba9d0da494fcb4f0fc32c">copy_str</a>(InputIt <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, InputIt <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, OutputIt it) {</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;  <span class="keywordflow">return</span> std::transform(begin, end, it, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#adc534aad72fd5f9db229cc9edf622771">to_char8_t</a>);</div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;}</div><div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;</div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;<span class="preprocessor">#if FMT_HAS_CPP_ATTRIBUTE(always_inline)</span></div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;<span class="preprocessor"># define FMT_ALWAYS_INLINE __attribute__((always_inline))</span></div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00824"></a><span class="lineno"><a class="line" href="format_8h.html#a701339e31b08c541a11ed944cc20b856">  824</a></span>&#160;<span class="preprocessor"># define FMT_ALWAYS_INLINE</span></div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;</div><div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a53dd0b9003b32d9c4c07d008b8a1bebf">lg</a>(uint32_t n, Handler h) <a class="code" href="format_8h.html#a701339e31b08c541a11ed944cc20b856">FMT_ALWAYS_INLINE</a>;</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;</div><div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;<span class="comment">// Computes g = floor(log10(n)) and calls h.on&lt;g&gt;(n);</span></div><div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l00832"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a53dd0b9003b32d9c4c07d008b8a1bebf">  832</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a53dd0b9003b32d9c4c07d008b8a1bebf">lg</a>(uint32_t n, Handler h) {</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;  <span class="keywordflow">return</span> n &lt; 100 ? n &lt; 10 ? h.template on&lt;0&gt;(n) : h.template on&lt;1&gt;(n)</div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;                 : n &lt; 1000000</div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;                       ? n &lt; 10000 ? n &lt; 1000 ? h.template on&lt;2&gt;(n)</div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;                                              : h.template on&lt;3&gt;(n)</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;                                   : n &lt; 100000 ? h.template on&lt;4&gt;(n)</div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;                                                : h.template on&lt;5&gt;(n)</div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;                       : n &lt; 100000000 ? n &lt; 10000000 ? h.template on&lt;6&gt;(n)</div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;                                                      : h.template on&lt;7&gt;(n)</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;                                       : n &lt; 1000000000 ? h.template on&lt;8&gt;(n)</div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;                                                        : h.template on&lt;9&gt;(n);</div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;}</div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;</div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;<span class="comment">// An lg handler that formats a decimal number.</span></div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;<span class="comment">// Usage: lg(n, decimal_formatter(buffer));</span></div><div class="line"><a name="l00847"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html">  847</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html">decimal_formatter</a> {</div><div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;  <span class="keywordtype">char</span> *buffer_;</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;  <span class="keywordtype">void</span> write_pair(<span class="keywordtype">unsigned</span> N, uint32_t index) {</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;    std::memcpy(buffer_ + N, data::DIGITS + index * 2, 2);</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;  }</div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;</div><div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00856"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#ae9628f9ead0c072984e75532438c0182">  856</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#ae9628f9ead0c072984e75532438c0182">decimal_formatter</a>(<span class="keywordtype">char</span> *buf) : buffer_(buf) {}</div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;</div><div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#a1a6a63018f8b53729b183608f4baa79a">  858</a></span>&#160;  <span class="keyword">template</span> &lt;<span class="keywordtype">unsigned</span> N&gt; <span class="keywordtype">char</span> *<a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#a1a6a63018f8b53729b183608f4baa79a">on</a>(uint32_t u) {</div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    <span class="keywordflow">if</span> (N == 0) {</div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;      *buffer_ = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(u) + <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (N == 1) {</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;      write_pair(0, u);</div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;      <span class="comment">// The idea of using 4.32 fixed-point numbers is based on</span></div><div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;      <span class="comment">// https://github.com/jeaiii/itoa</span></div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;      <span class="keywordtype">unsigned</span> n = N - 1;</div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;      <span class="keywordtype">unsigned</span> a = n / 5 * n * 53 / 16;</div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;      uint64_t t = ((1ULL &lt;&lt; (32 + a)) /</div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;                   data::ZERO_OR_POWERS_OF_10_32[n] + 1 - n / 9);</div><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;      t = ((t * u) &gt;&gt; a) + n / 5 * 4;</div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;      write_pair(0, t &gt;&gt; 32);</div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;      <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 2; i &lt; N; i += 2) {</div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;        t = 100ULL * <span class="keyword">static_cast&lt;</span>uint32_t<span class="keyword">&gt;</span>(t);</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        write_pair(i, t &gt;&gt; 32);</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;      }</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;      <span class="keywordflow">if</span> (N % 2 == 0) {</div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;        buffer_[N] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;          (10ULL * <span class="keyword">static_cast&lt;</span>uint32_t<span class="keyword">&gt;</span>(t)) &gt;&gt; 32) + <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;      }</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;    }</div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;    <span class="keywordflow">return</span> buffer_ += N + 1;</div><div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;  }</div><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;};</div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;</div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;<span class="comment">// An lg handler that formats a decimal number with a terminating null.</span></div><div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html">  886</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html">decimal_formatter_null</a> : <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html">decimal_formatter</a> {</div><div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00888"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#ad0faad0e42c161621f7460207abe3498">  888</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#ad0faad0e42c161621f7460207abe3498">decimal_formatter_null</a>(<span class="keywordtype">char</span> *buf) : <a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html">decimal_formatter</a>(buf) {}</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;</div><div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#aa973d156e8cd5038b4cbaa8ee7c2b021">  890</a></span>&#160;  <span class="keyword">template</span> &lt;<span class="keywordtype">unsigned</span> N&gt; <span class="keywordtype">char</span> *<a class="code" href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#aa973d156e8cd5038b4cbaa8ee7c2b021">on</a>(uint32_t u) {</div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;    <span class="keywordtype">char</span> *buf = decimal_formatter::on&lt;N&gt;(u);</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;    *buf = <span class="charliteral">&#39;\0&#39;</span>;</div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;    <span class="keywordflow">return</span> buf;</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;  }</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;};</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;</div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;<span class="preprocessor">#ifdef FMT_BUILTIN_CLZ</span></div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;<span class="comment">// Optional version of count_digits for better performance on 32-bit platforms.</span></div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">count_digits</a>(uint32_t n) {</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;  <span class="keywordtype">int</span> t = (32 - FMT_BUILTIN_CLZ(n | 1)) * 1233 &gt;&gt; 12;</div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;  <span class="keywordflow">return</span> t - (n &lt; data::ZERO_OR_POWERS_OF_10_32[t]) + 1;</div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;}</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;<span class="comment">// A functor that doesn&#39;t add a thousands separator.</span></div><div class="line"><a name="l00906"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html">  906</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html">no_thousands_sep</a> {</div><div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ad1e7da945143945bd5cd6934620331d9">  907</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ad1e7da945143945bd5cd6934620331d9">char_type</a>;</div><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00910"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ab9fe0f0042a2d6a65a907a58a2a387b2">  910</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ab9fe0f0042a2d6a65a907a58a2a387b2">operator()</a>(Char *) {}</div><div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;</div><div class="line"><a name="l00912"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#a5f9285e4a5faac1e077ba9d24376141aad8c1eac7d2740563f5dd89c7712ce987">  912</a></span>&#160;  <span class="keyword">enum</span> { size = 0 };</div><div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;};</div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;<span class="comment">// A functor that adds a thousands separator.</span></div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00917"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html">  917</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html">add_thousands_sep</a> {</div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> sep_;</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;</div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;  <span class="comment">// Index of a decimal digit with the least significant digit having index 0.</span></div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;  <span class="keywordtype">unsigned</span> digit_index_;</div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;</div><div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00925"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a0bd627a0529dc333328af15cbd2d7f77">  925</a></span>&#160;  <span class="keyword">typedef</span> Char <a class="code" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a0bd627a0529dc333328af15cbd2d7f77">char_type</a>;</div><div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;</div><div class="line"><a name="l00927"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#abf5e4ae8e94f8574fcd68d2f049df8d2">  927</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#abf5e4ae8e94f8574fcd68d2f049df8d2">add_thousands_sep</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> sep)</div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;    : sep_(sep), digit_index_(0) {}</div><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;</div><div class="line"><a name="l00930"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a2b67cdb6e9828877661e6fd9348206f3">  930</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a2b67cdb6e9828877661e6fd9348206f3">operator()</a>(Char *&amp;buffer) {</div><div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;    <span class="keywordflow">if</span> (++digit_index_ % 3 != 0)</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;    buffer -= sep_.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>();</div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;    std::uninitialized_copy(sep_.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">data</a>(), sep_.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">data</a>() + sep_.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>(),</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;                            <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">internal::make_checked</a>(buffer, sep_.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>()));</div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;  }</div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;</div><div class="line"><a name="l00938"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a5f8e41561ce9cdf40e12fcff6431e4b1a2766626dccbf822fd55f5ab488d11932">  938</a></span>&#160;  <span class="keyword">enum</span> { size = 1 };</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;};</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;</div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> Char <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a80875403133fef6385e50480459b1136">thousands_sep_impl</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">locale_ref</a> loc);</div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;</div><div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l00945"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a22384733f113ad46c4b287aee4d19719">  945</a></span>&#160;<span class="keyword">inline</span> Char <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">locale_ref</a> loc) {</div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;  <span class="keywordflow">return</span> Char(thousands_sep_impl&lt;char&gt;(loc));</div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;}</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;</div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00950"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">  950</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">wchar_t</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">locale_ref</a> loc) {</div><div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;  <span class="keywordflow">return</span> thousands_sep_impl&lt;wchar_t&gt;(loc);</div><div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;}</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;</div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;<span class="comment">// Formats a decimal unsigned integer value writing into buffer.</span></div><div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;<span class="comment">// thousands_sep is a functor that is called after writing each char to</span></div><div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;<span class="comment">// add a thousands separator if necessary.</span></div><div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> UInt, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> ThousandsSep&gt;</div><div class="line"><a name="l00958"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#af72d17ab37b4a11119c73b71200a7669">  958</a></span>&#160;<span class="keyword">inline</span> Char *<a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(Char *buffer, UInt <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>, <span class="keywordtype">int</span> num_digits,</div><div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;                            ThousandsSep <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>) {</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;  <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(num_digits &gt;= 0, <span class="stringliteral">&quot;invalid digit count&quot;</span>);</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;  buffer += num_digits;</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;  Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>;</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;  <span class="keywordflow">while</span> (value &gt;= 100) {</div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;    <span class="comment">// Integer division is slow so do it for a group of two digits instead</span></div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;    <span class="comment">// of for every digit. The idea comes from the talk by Alexandrescu</span></div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;    <span class="comment">// &quot;Three Optimization Tips for C++&quot;. See speed-test for a comparison.</span></div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;    <span class="keywordtype">unsigned</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span><span class="keyword">&gt;</span>((value % 100) * 2);</div><div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;    value /= 100;</div><div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;    *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(data::DIGITS[index + 1]);</div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>(buffer);</div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;    *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(data::DIGITS[index]);</div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>(buffer);</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;  }</div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;  <span class="keywordflow">if</span> (value &lt; 10) {</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;    *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(<span class="charliteral">&#39;0&#39;</span> + value);</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>;</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;  }</div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;  <span class="keywordtype">unsigned</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span><span class="keyword">&gt;</span>(value * 2);</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;  *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(data::DIGITS[index + 1]);</div><div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">thousands_sep</a>(buffer);</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;  *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(data::DIGITS[index]);</div><div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>;</div><div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;}</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutChar, <span class="keyword">typename</span> UInt, <span class="keyword">typename</span> Iterator,</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;          <span class="keyword">typename</span> ThousandsSep&gt;</div><div class="line"><a name="l00987"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#adae39d916b44943f034ed1d8f832c7e1">  987</a></span>&#160;<span class="keyword">inline</span> Iterator <a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(</div><div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;    Iterator out, UInt <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>, <span class="keywordtype">int</span> num_digits, ThousandsSep sep) {</div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;  <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(num_digits &gt;= 0, <span class="stringliteral">&quot;invalid digit count&quot;</span>);</div><div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">ThousandsSep::char_type</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">char_type</a>;</div><div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;  <span class="comment">// Buffer should be large enough to hold all digits (&lt;= digits10 + 1).</span></div><div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;  <span class="keyword">enum</span> { max_size = std::numeric_limits&lt;UInt&gt;::digits10 + 1 };</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;  <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(ThousandsSep::size &lt;= 1, <span class="stringliteral">&quot;invalid separator&quot;</span>);</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;  char_type buffer[max_size + max_size / 3];</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;  <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> = <a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(buffer, value, num_digits, sep);</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;  <span class="keywordflow">return</span> internal::copy_str&lt;OutChar&gt;(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, out);</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;}</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;</div><div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutChar, <span class="keyword">typename</span> It, <span class="keyword">typename</span> UInt&gt;</div><div class="line"><a name="l01000"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ad284b384d0648be5afed9658e6d17da0"> 1000</a></span>&#160;<span class="keyword">inline</span> It <a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(It out, UInt <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>, <span class="keywordtype">int</span> num_digits) {</div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;  <span class="keywordflow">return</span> format_decimal&lt;OutChar&gt;(out, value, num_digits, <a class="code" href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html">no_thousands_sep</a>());</div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;}</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">unsigned</span> BASE_BITS, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> UInt&gt;</div><div class="line"><a name="l01005"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#af5eb4df647fec81a1398d10f2e27da49"> 1005</a></span>&#160;<span class="keyword">inline</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a7c6be57189424e80f260e571b9804d68">format_uint</a>(Char *buffer, UInt <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>, <span class="keywordtype">int</span> num_digits,</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;                         <span class="keywordtype">bool</span> upper = <span class="keyword">false</span>) {</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;  buffer += num_digits;</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;  Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>;</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;  <span class="keywordflow">do</span> {</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *digits = upper ? <span class="stringliteral">&quot;0123456789ABCDEF&quot;</span> : <span class="stringliteral">&quot;0123456789abcdef&quot;</span>;</div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;    <span class="keywordtype">unsigned</span> digit = (value &amp; ((1 &lt;&lt; BASE_BITS) - 1));</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;    *--buffer = <span class="keyword">static_cast&lt;</span>Char<span class="keyword">&gt;</span>(BASE_BITS &lt; 4 ? static_cast&lt;char&gt;(<span class="charliteral">&#39;0&#39;</span> + digit)</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;                                                : digits[digit]);</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;  } <span class="keywordflow">while</span> ((value &gt;&gt;= BASE_BITS) != 0);</div><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>;</div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;}</div><div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;</div><div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">unsigned</span> BASE_BITS, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> It, <span class="keyword">typename</span> UInt&gt;</div><div class="line"><a name="l01019"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a7c6be57189424e80f260e571b9804d68"> 1019</a></span>&#160;<span class="keyword">inline</span> It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a7c6be57189424e80f260e571b9804d68">format_uint</a>(It out, UInt <a class="code" href="classfmt_1_1v5_1_1internal_1_1value.html">value</a>, <span class="keywordtype">int</span> num_digits,</div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;                      <span class="keywordtype">bool</span> upper = <span class="keyword">false</span>) {</div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;  <span class="comment">// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1)</span></div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;  <span class="comment">// and null.</span></div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;  <span class="keywordtype">char</span> buffer[std::numeric_limits&lt;UInt&gt;::digits / BASE_BITS + 2];</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;  format_uint&lt;BASE_BITS&gt;(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, value, num_digits, upper);</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;  <span class="keywordflow">return</span> internal::copy_str&lt;Char&gt;(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, buffer + num_digits, out);</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;}</div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;<span class="preprocessor">#ifndef _WIN32</span></div><div class="line"><a name="l01029"></a><span class="lineno"><a class="line" href="format_8h.html#a66278651d81592645cef28ca33a6ab92"> 1029</a></span>&#160;<span class="preprocessor"># define FMT_USE_WINDOWS_H 0</span></div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;<span class="preprocessor">#elif !defined(FMT_USE_WINDOWS_H)</span></div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;<span class="preprocessor"># define FMT_USE_WINDOWS_H 1</span></div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;</div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;<span class="comment">// Define FMT_USE_WINDOWS_H to 0 to disable use of windows.h.</span></div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;<span class="comment">// All the functionality that relies on it will be disabled too.</span></div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;<span class="preprocessor">#if FMT_USE_WINDOWS_H</span></div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;<span class="comment">// A converter from UTF-8 to UTF-16.</span></div><div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;<span class="comment">// It is only provided for Windows since other systems support UTF-8 natively.</span></div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;<span class="keyword">class </span>utf8_to_utf16 {</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;  wmemory_buffer buffer_;</div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">explicit</span> utf8_to_utf16(<a class="code" href="namespacefmt_1_1v5.html#a3301ccbf6a0ab1b233242041a835a54a">string_view</a> s);</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;  <span class="keyword">operator</span> <a class="code" href="namespacefmt_1_1v5.html#a37de00647fc1e0345f485313cdd522f7">wstring_view</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a37de00647fc1e0345f485313cdd522f7">wstring_view</a>(&amp;buffer_[0], size()); }</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;  <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> buffer_.size() - 1; }</div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *c_str()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &amp;buffer_[0]; }</div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;  std::wstring str()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> std::wstring(&amp;buffer_[0], size()); }</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;};</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;<span class="comment">// A converter from UTF-16 to UTF-8.</span></div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;<span class="comment">// It is only provided for Windows since other systems support UTF-8 natively.</span></div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;<span class="keyword">class </span>utf16_to_utf8 {</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;  memory_buffer buffer_;</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;</div><div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;  utf16_to_utf8() {}</div><div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">explicit</span> utf16_to_utf8(<a class="code" href="namespacefmt_1_1v5.html#a37de00647fc1e0345f485313cdd522f7">wstring_view</a> s);</div><div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;  <span class="keyword">operator</span> <a class="code" href="namespacefmt_1_1v5.html#a3301ccbf6a0ab1b233242041a835a54a">string_view</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a3301ccbf6a0ab1b233242041a835a54a">string_view</a>(&amp;buffer_[0], size()); }</div><div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;  <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> buffer_.size() - 1; }</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *c_str()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &amp;buffer_[0]; }</div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;  std::string str()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> std::string(&amp;buffer_[0], size()); }</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;  <span class="comment">// Performs conversion returning a system error code instead of</span></div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;  <span class="comment">// throwing exception on conversion error. This method may still throw</span></div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;  <span class="comment">// in case of memory allocation error.</span></div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">int</span> convert(<a class="code" href="namespacefmt_1_1v5.html#a37de00647fc1e0345f485313cdd522f7">wstring_view</a> s);</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;};</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> format_windows_error(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">fmt::internal::buffer</a> &amp;out, <span class="keywordtype">int</span> error_code,</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;                                  <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">fmt::string_view</a> message) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T = <span class="keywordtype">void</span>&gt;</div><div class="line"><a name="l01076"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1null.html"> 1076</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1null.html">null</a> {};</div><div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;}  <span class="comment">// namespace internal</span></div><div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;</div><div class="line"><a name="l01079"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8"> 1079</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> {</div><div class="line"><a name="l01080"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1"> 1080</a></span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>, <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a824a96ce4113d35438ba2c14845de1c3">ALIGN_LEFT</a>, <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>, <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a6cf58d6a173204a962db3dae30a01d8c">ALIGN_CENTER</a>, <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">ALIGN_NUMERIC</a></div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;};</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;<span class="comment">// Flags.</span></div><div class="line"><a name="l01084"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890"> 1084</a></span>&#160;<span class="keyword">enum</span> { <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a> = 1, <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">PLUS_FLAG</a> = 2, <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaaaf7cf0b0f8341fafc6ab56b5c5c77f03">MINUS_FLAG</a> = 4, <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a> = 8 };</div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;</div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;<span class="comment">// An alignment specifier.</span></div><div class="line"><a name="l01087"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html"> 1087</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a> {</div><div class="line"><a name="l01088"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#a8223f56be615c31d47e588ac36690aee"> 1088</a></span>&#160;  <span class="keywordtype">unsigned</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#a8223f56be615c31d47e588ac36690aee">width_</a>;</div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;  <span class="comment">// Fill is always wchar_t and cast to char if necessary to avoid having</span></div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;  <span class="comment">// two specialization of AlignSpec and its subclasses.</span></div><div class="line"><a name="l01091"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#ac7badcecfcb9d58db73d06eee0888fbe"> 1091</a></span>&#160;  <span class="keywordtype">wchar_t</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#ac7badcecfcb9d58db73d06eee0888fbe">fill_</a>;</div><div class="line"><a name="l01092"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d"> 1092</a></span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">align_</a>;</div><div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;</div><div class="line"><a name="l01094"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#a74632126deecb543f2e2d08ad0d52d1c"> 1094</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#a74632126deecb543f2e2d08ad0d52d1c">align_spec</a>() : width_(0), fill_(<span class="stringliteral">&#39; &#39;</span>), align_(<a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>) {}</div><div class="line"><a name="l01095"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#ab1a460c21832fbe87d5b3d9bf877d696"> 1095</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">unsigned</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#ab1a460c21832fbe87d5b3d9bf877d696">width</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> width_; }</div><div class="line"><a name="l01096"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#ae4d5b07a56c8bf5085623444a9ab347e"> 1096</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">wchar_t</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#ae4d5b07a56c8bf5085623444a9ab347e">fill</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> fill_; }</div><div class="line"><a name="l01097"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744"> 1097</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> <a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> align_; }</div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;};</div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;</div><div class="line"><a name="l01100"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html"> 1100</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1core__format__specs.html">core_format_specs</a> {</div><div class="line"><a name="l01101"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47"> 1101</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47">precision</a>;</div><div class="line"><a name="l01102"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c"> 1102</a></span>&#160;  uint_least8_t <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c">flags</a>;</div><div class="line"><a name="l01103"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6"> 1103</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a>;</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;</div><div class="line"><a name="l01105"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html#af2f270216f9f408f402e94ad1033fe26"> 1105</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#af2f270216f9f408f402e94ad1033fe26">core_format_specs</a>() : precision(-1), flags(0), type(0) {}</div><div class="line"><a name="l01106"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1core__format__specs.html#a6768437518e195164021594fd2ce0ff7"> 1106</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">bool</span> <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a6768437518e195164021594fd2ce0ff7">has</a>(<span class="keywordtype">unsigned</span> f)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (flags &amp; f) != 0; }</div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;};</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;</div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;<span class="comment">// Format specifiers.</span></div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01111"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__format__specs.html"> 1111</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs</a> : <a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a>, <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html">core_format_specs</a> {</div><div class="line"><a name="l01112"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__format__specs.html#a3eea365872084949e7a8e14c7d7131f7"> 1112</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html#a3eea365872084949e7a8e14c7d7131f7">basic_format_specs</a>() {}</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;};</div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;</div><div class="line"><a name="l01115"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9"> 1115</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;char&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>;</div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;</div><div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01118"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__parse__context.html#a904ad0013ff0d1e633218bcf1810592d"> 1118</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">unsigned</span> <a class="code" href="classfmt_1_1v5_1_1basic__parse__context.html">basic_parse_context&lt;Char, ErrorHandler&gt;::next_arg_id</a>() {</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;  <span class="keywordflow">if</span> (next_arg_id_ &gt;= 0)</div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(next_arg_id_++);</div><div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;  on_error(<span class="stringliteral">&quot;cannot switch from manual to automatic argument indexing&quot;</span>);</div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;}</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;<span class="comment">// Formats value using Grisu2 algorithm:</span></div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;<span class="comment">// https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf</span></div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Double&gt;</div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">std::enable_if&lt;sizeof(Double) == sizeof(uint64_t), bool&gt;::type</a></div><div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a48d02275b9e72a672b92ea3e7acfd656">grisu2_format</a>(Double value, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a> &amp;buf, <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html">core_format_specs</a>);</div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Double&gt;</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">std::enable_if&lt;sizeof(Double) != sizeof(uint64_t), bool&gt;::type</a></div><div class="line"><a name="l01134"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a48d02275b9e72a672b92ea3e7acfd656"> 1134</a></span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a48d02275b9e72a672b92ea3e7acfd656">grisu2_format</a>(Double, <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">buffer</a> &amp;, <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html">core_format_specs</a>) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div><div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Double&gt;</div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a37f320718a8fbb4cf326d075f6332e93">sprintf_format</a>(Double, <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::buffer</a> &amp;, <a class="code" href="structfmt_1_1v5_1_1core__format__specs.html">core_format_specs</a>);</div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;</div><div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01140"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3"> 1140</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3">handle_int_type_spec</a>(<span class="keywordtype">char</span> spec, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;  <span class="keywordflow">switch</span> (spec) {</div><div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;  <span class="keywordflow">case</span> 0: <span class="keywordflow">case</span> <span class="charliteral">&#39;d&#39;</span>:</div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;    handler.on_dec();</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;x&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;X&#39;</span>:</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;    handler.on_hex();</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;b&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;B&#39;</span>:</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;    handler.on_bin();</div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;o&#39;</span>:</div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;    handler.on_oct();</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;n&#39;</span>:</div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;    handler.on_num();</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;  <span class="keywordflow">default</span>:</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;    handler.on_error();</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;  }</div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;}</div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01163"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aed78230de71427c867d6d49cdf397681"> 1163</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aed78230de71427c867d6d49cdf397681">handle_float_type_spec</a>(<span class="keywordtype">char</span> spec, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;  <span class="keywordflow">switch</span> (spec) {</div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;  <span class="keywordflow">case</span> 0: <span class="keywordflow">case</span> <span class="charliteral">&#39;g&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;G&#39;</span>:</div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;    handler.on_general();</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;e&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;E&#39;</span>:</div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;    handler.on_exp();</div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;f&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;F&#39;</span>:</div><div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;    handler.on_fixed();</div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;   <span class="keywordflow">case</span> <span class="charliteral">&#39;a&#39;</span>: <span class="keywordflow">case</span> <span class="charliteral">&#39;A&#39;</span>:</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;    handler.on_hex();</div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;  <span class="keywordflow">default</span>:</div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;    handler.on_error();</div><div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;  }</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;}</div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;</div><div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01184"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ad26cf75c1e4ab48a7d4d2254a44001f0"> 1184</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ad26cf75c1e4ab48a7d4d2254a44001f0">handle_char_specs</a>(</div><div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;    <span class="keyword">const</span> <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;Char&gt;</a> *specs, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;  <span class="keywordflow">if</span> (!specs) <span class="keywordflow">return</span> handler.on_char();</div><div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;  <span class="keywordflow">if</span> (specs-&gt;<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> &amp;&amp; specs-&gt;<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> != <span class="charliteral">&#39;c&#39;</span>) <span class="keywordflow">return</span> handler.on_int();</div><div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;  <span class="keywordflow">if</span> (specs-&gt;<a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>() == ALIGN_NUMERIC || specs-&gt;<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c">flags</a> != 0)</div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;    handler.on_error(<span class="stringliteral">&quot;invalid format specifier for char&quot;</span>);</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;  handler.on_char();</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;}</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;</div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01194"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a340304e36817771dec9551579579cb71"> 1194</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a340304e36817771dec9551579579cb71">handle_cstring_type_spec</a>(Char spec, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;  <span class="keywordflow">if</span> (spec == 0 || spec == <span class="charliteral">&#39;s&#39;</span>)</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;    handler.on_string();</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (spec == <span class="charliteral">&#39;p&#39;</span>)</div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;    handler.on_pointer();</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;  <span class="keywordflow">else</span></div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;    handler.on_error(<span class="stringliteral">&quot;invalid type specifier&quot;</span>);</div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160;}</div><div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;</div><div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01204"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a83526f0a8d3c8e9cc85b24a7a00e8496"> 1204</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a83526f0a8d3c8e9cc85b24a7a00e8496">check_string_type_spec</a>(Char spec, ErrorHandler &amp;&amp;eh) {</div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;  <span class="keywordflow">if</span> (spec != 0 &amp;&amp; spec != <span class="charliteral">&#39;s&#39;</span>)</div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;    eh.on_error(<span class="stringliteral">&quot;invalid type specifier&quot;</span>);</div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;}</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01210"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ab9c093637a8328c1d798547a91ca1a5b"> 1210</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ab9c093637a8328c1d798547a91ca1a5b">check_pointer_type_spec</a>(Char spec, ErrorHandler &amp;&amp;eh) {</div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;  <span class="keywordflow">if</span> (spec != 0 &amp;&amp; spec != <span class="charliteral">&#39;p&#39;</span>)</div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;    eh.on_error(<span class="stringliteral">&quot;invalid type specifier&quot;</span>);</div><div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;}</div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01216"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html"> 1216</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html">int_type_checker</a> : <span class="keyword">private</span> ErrorHandler {</div><div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01218"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#aa75eaaeb64951f8fa9e5480e4fa50c6f"> 1218</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#aa75eaaeb64951f8fa9e5480e4fa50c6f">int_type_checker</a>(ErrorHandler eh) : ErrorHandler(eh) {}</div><div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;</div><div class="line"><a name="l01220"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a249a93159605bb04c62fdfbd27d31547"> 1220</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a249a93159605bb04c62fdfbd27d31547">on_dec</a>() {}</div><div class="line"><a name="l01221"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a13ed97c71cee805fc3548feea42db5a5"> 1221</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a13ed97c71cee805fc3548feea42db5a5">on_hex</a>() {}</div><div class="line"><a name="l01222"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a34213cd8fddd550812e0e3dbc6fba583"> 1222</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a34213cd8fddd550812e0e3dbc6fba583">on_bin</a>() {}</div><div class="line"><a name="l01223"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#af209985f05390106353bc61242343ca7"> 1223</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#af209985f05390106353bc61242343ca7">on_oct</a>() {}</div><div class="line"><a name="l01224"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a38d3e72fdf277b4f7d431e83e96c943e"> 1224</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a38d3e72fdf277b4f7d431e83e96c943e">on_num</a>() {}</div><div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;</div><div class="line"><a name="l01226"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a0006985aadbde8a6ac0234965afac80c"> 1226</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a0006985aadbde8a6ac0234965afac80c">on_error</a>() {</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;    ErrorHandler::on_error(<span class="stringliteral">&quot;invalid type specifier&quot;</span>);</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;  }</div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;};</div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01232"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html"> 1232</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html">float_type_checker</a> : <span class="keyword">private</span> ErrorHandler {</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01234"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#ab4f77925d9c95b66e8b0ad5bdba8855b"> 1234</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#ab4f77925d9c95b66e8b0ad5bdba8855b">float_type_checker</a>(ErrorHandler eh)</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;    : ErrorHandler(eh) {}</div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;</div><div class="line"><a name="l01237"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a0f7bbace087804f834170962a3751838"> 1237</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a0f7bbace087804f834170962a3751838">on_general</a>() {}</div><div class="line"><a name="l01238"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a022d595c17259f8b0df0e10f4397ca67"> 1238</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a022d595c17259f8b0df0e10f4397ca67">on_exp</a>() {}</div><div class="line"><a name="l01239"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a28bc42a672af599e109938f34d58bb30"> 1239</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a28bc42a672af599e109938f34d58bb30">on_fixed</a>() {}</div><div class="line"><a name="l01240"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a488c1569ecc390390de41642af877cf1"> 1240</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a488c1569ecc390390de41642af877cf1">on_hex</a>() {}</div><div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;</div><div class="line"><a name="l01242"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a6259e777a6b575e11c682d91d0be83ab"> 1242</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a6259e777a6b575e11c682d91d0be83ab">on_error</a>() {</div><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;    ErrorHandler::on_error(<span class="stringliteral">&quot;invalid type specifier&quot;</span>);</div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;  }</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;};</div><div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;</div><div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01248"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html"> 1248</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html">char_specs_checker</a> : <span class="keyword">public</span> ErrorHandler {</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;  <span class="keywordtype">char</span> type_;</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;</div><div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01253"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a6f720937604863fca737c9f48c7bbef5"> 1253</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a6f720937604863fca737c9f48c7bbef5">char_specs_checker</a>(<span class="keywordtype">char</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>, ErrorHandler eh)</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;    : ErrorHandler(eh), type_(type) {}</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;</div><div class="line"><a name="l01256"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#aaf74a0eb4908b6ac92930c068a39bf4d"> 1256</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#aaf74a0eb4908b6ac92930c068a39bf4d">on_int</a>() {</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3">handle_int_type_spec</a>(type_, <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html">int_type_checker&lt;ErrorHandler&gt;</a>(*<span class="keyword">this</span>));</div><div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;  }</div><div class="line"><a name="l01259"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a66e7f01c770f2002fe729864e0e85d7e"> 1259</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a66e7f01c770f2002fe729864e0e85d7e">on_char</a>() {}</div><div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>&#160;};</div><div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;</div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01263"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html"> 1263</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html">cstring_type_checker</a> : <span class="keyword">public</span> ErrorHandler {</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01265"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a121cc7c3aa7c96aafe802123ca731226"> 1265</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a121cc7c3aa7c96aafe802123ca731226">cstring_type_checker</a>(ErrorHandler eh)</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;    : ErrorHandler(eh) {}</div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;</div><div class="line"><a name="l01268"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#acef9add1fb34d2d175a1dd92afdfe1e5"> 1268</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#acef9add1fb34d2d175a1dd92afdfe1e5">on_string</a>() {}</div><div class="line"><a name="l01269"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a56ab12958652d01caad11b75747d05d8"> 1269</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a56ab12958652d01caad11b75747d05d8">on_pointer</a>() {}</div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;};</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l01273"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__map.html#a04351a6b015c6ed8822951f332162a7f"> 1273</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__map.html">arg_map&lt;Context&gt;::init</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args&lt;Context&gt;</a> &amp;args) {</div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;  <span class="keywordflow">if</span> (map_)</div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;    <span class="keywordflow">return</span>;</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;  map_ = <span class="keyword">new</span> entry[args.<a class="code" href="classfmt_1_1v5_1_1basic__format__args.html#a961b62b8f8bd720f6fe8099bc1046d64">max_size</a>()];</div><div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;  <span class="keywordflow">if</span> (args.is_packed()) {</div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0;<span class="comment">/*nothing*/</span>; ++i) {</div><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">internal::type</a> arg_type = args.type(i);</div><div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;      <span class="keywordflow">switch</span> (arg_type) {</div><div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9">internal::none_type</a>:</div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;          <span class="keywordflow">return</span>;</div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aa7a6f8b82db485f179833d300de9d139">internal::named_arg_type</a>:</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;          push_back(args.<a class="code" href="classfmt_1_1v5_1_1basic__format__args.html#a7dd4ac1a1a0513a1b567d2c6251656a7">values_</a>[i]);</div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;          <span class="keywordflow">break</span>;</div><div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;        <span class="keywordflow">default</span>:</div><div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;          <span class="keywordflow">break</span>; <span class="comment">// Do nothing.</span></div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;      }</div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;    }</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;  }</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; ; ++i) {</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;    <span class="keywordflow">switch</span> (args.<a class="code" href="classfmt_1_1v5_1_1basic__format__args.html#aae77a07c32a92e56243ff0a76f51eaff">args_</a>[i].type_) {</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9">internal::none_type</a>:</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aa7a6f8b82db485f179833d300de9d139">internal::named_arg_type</a>:</div><div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;        push_back(args.<a class="code" href="classfmt_1_1v5_1_1basic__format__args.html#aae77a07c32a92e56243ff0a76f51eaff">args_</a>[i].value_);</div><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;        <span class="keywordflow">break</span>; <span class="comment">// Do nothing.</span></div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;    }</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;  }</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;}</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;</div><div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l01305"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html"> 1305</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">arg_formatter_base</a> {</div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01307"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a065412840bd7bab950a7f4df38fbc94b"> 1307</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> Range::value_type <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a065412840bd7bab950a7f4df38fbc94b">char_type</a>;</div><div class="line"><a name="l01308"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a43e1b1fba0aa288fd2b33c85eaad5180"> 1308</a></span>&#160;  <span class="keyword">typedef</span> decltype(internal::declval&lt;Range&gt;().<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>()) iterator;</div><div class="line"><a name="l01309"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a96fbb5e2e9b9f98517f162b87b6bc738"> 1309</a></span>&#160;  typedef <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs</a>&lt;char_type&gt; format_specs;</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160; private:</div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;  typedef <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer</a>&lt;Range&gt; <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">writer_type</a>;</div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;  writer_type writer_;</div><div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;  format_specs *specs_;</div><div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;</div><div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;  struct char_writer {</div><div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;    char_type value;</div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;</div><div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160;    <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1; }</div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;    <span class="keywordtype">size_t</span> width()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1; }</div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;</div><div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;    <span class="keywordtype">void</span> operator()(It &amp;&amp;it)<span class="keyword"> const </span>{ *it++ = value; }</div><div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;  };</div><div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;</div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;  <span class="keywordtype">void</span> write_char(char_type value) {</div><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;    <span class="keywordflow">if</span> (specs_)</div><div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;      writer_.write_padded(*specs_, char_writer{value});</div><div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;      writer_.write(value);</div><div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;  }</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;  <span class="keywordtype">void</span> write_pointer(<span class="keyword">const</span> <span class="keywordtype">void</span> *p) {</div><div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;    format_specs specs = specs_ ? *specs_ : <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>();</div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;    specs.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c">flags</a> = <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>;</div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;    specs.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> = <span class="charliteral">&#39;x&#39;</span>;</div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;    writer_.write_int(reinterpret_cast&lt;uintptr_t&gt;(p), specs);</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;  }</div><div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;</div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l01341"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a0fe712b3073fdad76e865f681a20a3cb"> 1341</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">writer_type</a> &amp;<a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a0fe712b3073fdad76e865f681a20a3cb">writer</a>() { <span class="keywordflow">return</span> writer_; }</div><div class="line"><a name="l01342"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ab2e59146a8b73543a67737f28d7eb176"> 1342</a></span>&#160;  format_specs *<a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ab2e59146a8b73543a67737f28d7eb176">spec</a>() { <span class="keywordflow">return</span> specs_; }</div><div class="line"><a name="l01343"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8890ae003e8b00eed900cd18d216cf48"> 1343</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8890ae003e8b00eed900cd18d216cf48">out</a>() { <span class="keywordflow">return</span> writer_.out(); }</div><div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;</div><div class="line"><a name="l01345"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#abdcd50b6b81f5f0071482f01b4f19945"> 1345</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#abdcd50b6b81f5f0071482f01b4f19945">write</a>(<span class="keywordtype">bool</span> value) {</div><div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> sv(value ? <span class="stringliteral">&quot;true&quot;</span> : <span class="stringliteral">&quot;false&quot;</span>);</div><div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;    specs_ ? writer_.write(sv, *specs_) : writer_.write(sv);</div><div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;  }</div><div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;</div><div class="line"><a name="l01350"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a7e8848d8bfb01b809c74e65788a197ca"> 1350</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a7e8848d8bfb01b809c74e65788a197ca">write</a>(<span class="keyword">const</span> char_type *value) {</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160;    <span class="keywordflow">if</span> (!value)</div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;      <a class="code" href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a>(<a class="code" href="classfmt_1_1v5_1_1format__error.html">format_error</a>(<span class="stringliteral">&quot;string pointer is null&quot;</span>));</div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;    <span class="keyword">auto</span> length = std::char_traits&lt;char_type&gt;::length(value);</div><div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char_type&gt;</a> sv(value, length);</div><div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;    specs_ ? writer_.write(sv, *specs_) : writer_.write(sv);</div><div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;  }</div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;</div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01359"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a1f09a08ddcb054ae0d7dec1e8183ec9a"> 1359</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a1f09a08ddcb054ae0d7dec1e8183ec9a">arg_formatter_base</a>(Range r, format_specs *s, <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">locale_ref</a> loc)</div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;    : writer_(r, loc), specs_(s) {}</div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;</div><div class="line"><a name="l01362"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8ae25aadcb11be0f632537d24bc3ba37"> 1362</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8ae25aadcb11be0f632537d24bc3ba37">operator()</a>(<a class="code" href="structfmt_1_1v5_1_1monostate.html">monostate</a>) {</div><div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;    <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(<span class="keyword">false</span>, <span class="stringliteral">&quot;invalid argument type&quot;</span>);</div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;  }</div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;</div><div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;  <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;    std::is_integral&lt;T&gt;::value || std::is_same&lt;T, char_type&gt;::value,</div><div class="line"><a name="l01370"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a05e90e22d2222c1c458d625f8559599a"> 1370</a></span>&#160;    iterator&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a05e90e22d2222c1c458d625f8559599a">operator()</a>(T value) {</div><div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;    <span class="comment">// MSVC2013 fails to compile separate overloads for bool and char_type so</span></div><div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;    <span class="comment">// use std::is_same instead.</span></div><div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;    <span class="keywordflow">if</span> (std::is_same&lt;T, bool&gt;::value) {</div><div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;      <span class="keywordflow">if</span> (specs_ &amp;&amp; specs_-&gt;type)</div><div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;        <span class="keywordflow">return</span> (*<span class="keyword">this</span>)(value ? 1 : 0);</div><div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(value != 0);</div><div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (std::is_same&lt;T, char_type&gt;::value) {</div><div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ad26cf75c1e4ab48a7d4d2254a44001f0">internal::handle_char_specs</a>(</div><div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;        specs_, <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html">char_spec_handler</a>(*<span class="keyword">this</span>, static_cast&lt;char_type&gt;(value)));</div><div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;      specs_ ? writer_.write_int(value, *specs_) : writer_.write(value);</div><div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;    }</div><div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;  }</div><div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;</div><div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;  <span class="keyword">typename</span> std::enable_if&lt;std::is_floating_point&lt;T&gt;::value, iterator&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l01388"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a4c6d77344d1e2c8327965b544adb03fb"> 1388</a></span>&#160;      <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a4c6d77344d1e2c8327965b544adb03fb">operator()</a>(T value) {</div><div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;    writer_.write_double(value, specs_ ? *specs_ : <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>());</div><div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;  }</div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;</div><div class="line"><a name="l01393"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html"> 1393</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html">char_spec_handler</a> : <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a> {</div><div class="line"><a name="l01394"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#affa464f89a6f6fa5afda5dc7f405b962"> 1394</a></span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">arg_formatter_base</a> &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#affa464f89a6f6fa5afda5dc7f405b962">formatter</a>;</div><div class="line"><a name="l01395"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a3ec107f4cdd14d0eb7f1ae2a072b0c89"> 1395</a></span>&#160;    char_type <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a3ec107f4cdd14d0eb7f1ae2a072b0c89">value</a>;</div><div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;</div><div class="line"><a name="l01397"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a9ee2328a2106f91620d78431401d19ae"> 1397</a></span>&#160;    <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a9ee2328a2106f91620d78431401d19ae">char_spec_handler</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">arg_formatter_base</a>&amp; f, char_type val)</div><div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;      : formatter(f), value(val) {}</div><div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;</div><div class="line"><a name="l01400"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#aa48913a1f52a97dbba8436cd493810db"> 1400</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#aa48913a1f52a97dbba8436cd493810db">on_int</a>() {</div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;      <span class="keywordflow">if</span> (formatter.specs_)</div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;        formatter.writer_.write_int(value, *formatter.specs_);</div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;      <span class="keywordflow">else</span></div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;        formatter.writer_.<a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a531918e4cf5995d2c14785b3eb1f9699">write</a>(value);</div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;    }</div><div class="line"><a name="l01406"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#ad45d0067f9a6f6edfe1c0f0a7ff50af5"> 1406</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#ad45d0067f9a6f6edfe1c0f0a7ff50af5">on_char</a>() { formatter.write_char(value); }</div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;  };</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;</div><div class="line"><a name="l01409"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html"> 1409</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html">cstring_spec_handler</a> : <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a> {</div><div class="line"><a name="l01410"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#ae2344ac1cd01b0791888983b7b249063"> 1410</a></span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">arg_formatter_base</a> &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#ae2344ac1cd01b0791888983b7b249063">formatter</a>;</div><div class="line"><a name="l01411"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a677c073f250fe756706c602548846794"> 1411</a></span>&#160;    <span class="keyword">const</span> char_type *<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a677c073f250fe756706c602548846794">value</a>;</div><div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;</div><div class="line"><a name="l01413"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#aa61244d241d6d4b5a8859df32e8d1c41"> 1413</a></span>&#160;    <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#aa61244d241d6d4b5a8859df32e8d1c41">cstring_spec_handler</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">arg_formatter_base</a> &amp;f, <span class="keyword">const</span> char_type *val)</div><div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;      : formatter(f), value(val) {}</div><div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;</div><div class="line"><a name="l01416"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a519ca34f6bded5481821e4c0ad29a9ba"> 1416</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a519ca34f6bded5481821e4c0ad29a9ba">on_string</a>() { formatter.<a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#abdcd50b6b81f5f0071482f01b4f19945">write</a>(value); }</div><div class="line"><a name="l01417"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a4bef3a86933f35c061589933b1fc36a2"> 1417</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a4bef3a86933f35c061589933b1fc36a2">on_pointer</a>() { formatter.write_pointer(value); }</div><div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;  };</div><div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;</div><div class="line"><a name="l01420"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ae20e743a85c240feefa62a82cb81d836"> 1420</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ae20e743a85c240feefa62a82cb81d836">operator()</a>(<span class="keyword">const</span> char_type *value) {</div><div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;    <span class="keywordflow">if</span> (!specs_) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(value), out();</div><div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a340304e36817771dec9551579579cb71">internal::handle_cstring_type_spec</a>(</div><div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;          specs_-&gt;type, <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html">cstring_spec_handler</a>(*<span class="keyword">this</span>, value));</div><div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;  }</div><div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;</div><div class="line"><a name="l01427"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a59b215cea8bf6e89883b58c47d4f0d94"> 1427</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a59b215cea8bf6e89883b58c47d4f0d94">operator()</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char_type&gt;</a> value) {</div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160;    <span class="keywordflow">if</span> (specs_) {</div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a83526f0a8d3c8e9cc85b24a7a00e8496">internal::check_string_type_spec</a>(</div><div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;            specs_-&gt;type, <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a>());</div><div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;      writer_.write(value, *specs_);</div><div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;      writer_.write(value);</div><div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;    }</div><div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;  }</div><div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;</div><div class="line"><a name="l01438"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a793d82c248d310c8b1bdf06b00a9bdf8"> 1438</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a793d82c248d310c8b1bdf06b00a9bdf8">operator()</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *value) {</div><div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;    <span class="keywordflow">if</span> (specs_)</div><div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ab9c093637a8328c1d798547a91ca1a5b">check_pointer_type_spec</a>(specs_-&gt;type, <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a>());</div><div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;    write_pointer(value);</div><div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;    <span class="keywordflow">return</span> out();</div><div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;  }</div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;};</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;</div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01447"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aa601e9520a59e9c38b71eba828ebd063"> 1447</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">bool</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa601e9520a59e9c38b71eba828ebd063">is_name_start</a>(Char c) {</div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;  <span class="keywordflow">return</span> (<span class="charliteral">&#39;a&#39;</span> &lt;= c &amp;&amp; c &lt;= <span class="charliteral">&#39;z&#39;</span>) || (<span class="charliteral">&#39;A&#39;</span> &lt;= c &amp;&amp; c &lt;= <span class="charliteral">&#39;Z&#39;</span>) || <span class="charliteral">&#39;_&#39;</span> == c;</div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;}</div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;</div><div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;<span class="comment">// Parses the range [begin, end) as an unsigned integer. This function assumes</span></div><div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;<span class="comment">// that the range is non-empty and the first character is a digit.</span></div><div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01454"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f"> 1454</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">unsigned</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f">parse_nonnegative_int</a>(</div><div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;    <span class="keyword">const</span> Char *&amp;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, ErrorHandler &amp;&amp;eh) {</div><div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160;  assert(begin != end &amp;&amp; <span class="charliteral">&#39;0&#39;</span> &lt;= *begin &amp;&amp; *begin &lt;= <span class="charliteral">&#39;9&#39;</span>);</div><div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;  <span class="keywordflow">if</span> (*begin == <span class="charliteral">&#39;0&#39;</span>) {</div><div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;  }</div><div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>&#160;  <span class="keywordtype">unsigned</span> value = 0;</div><div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;  <span class="comment">// Convert to unsigned to prevent a warning.</span></div><div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;  <span class="keywordtype">unsigned</span> max_int = (std::numeric_limits&lt;int&gt;::max)();</div><div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;  <span class="keywordtype">unsigned</span> big = max_int / 10;</div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;  <span class="keywordflow">do</span> {</div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;    <span class="comment">// Check for overflow.</span></div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;    <span class="keywordflow">if</span> (value &gt; big) {</div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;      value = max_int + 1;</div><div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160;    }</div><div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160;    value = value * 10 + unsigned(*begin - <span class="charliteral">&#39;0&#39;</span>);</div><div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;  } <span class="keywordflow">while</span> (begin != end &amp;&amp; <span class="charliteral">&#39;0&#39;</span> &lt;= *begin &amp;&amp; *begin &lt;= <span class="charliteral">&#39;9&#39;</span>);</div><div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;  <span class="keywordflow">if</span> (value &gt; max_int)</div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;    eh.on_error(<span class="stringliteral">&quot;number is too big&quot;</span>);</div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;  <span class="keywordflow">return</span> value;</div><div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;}</div><div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;</div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l01480"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html"> 1480</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html">custom_formatter</a>: <span class="keyword">public</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1function.html">function</a>&lt;bool&gt; {</div><div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;  Context &amp;ctx_;</div><div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;</div><div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01485"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ac2612121f51ea49d01b48a368899cbe9"> 1485</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ac2612121f51ea49d01b48a368899cbe9">custom_formatter</a>(Context &amp;ctx): ctx_(ctx) {}</div><div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;</div><div class="line"><a name="l01487"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#a0cc11bc1184cb874fc3ca5567a3f41af"> 1487</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#a0cc11bc1184cb874fc3ca5567a3f41af">operator()</a>(<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html">basic_format_arg&lt;Context&gt;::handle</a> h)<span class="keyword"> const </span>{</div><div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;    h.<a class="code" href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html#a3ff798e2ef00d3c83f895200cd4712ea">format</a>(ctx_);</div><div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;  }</div><div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160;</div><div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01493"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ae8293ea06db4fe475366e6f70811e486"> 1493</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ae8293ea06db4fe475366e6f70811e486">operator()</a>(T)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div><div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;};</div><div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01497"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1is__integer.html"> 1497</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1is__integer.html">is_integer</a> {</div><div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;  <span class="keyword">enum</span> {</div><div class="line"><a name="l01499"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1is__integer.html#a86045dee4e1516ba984f9a7a73a8d784a628cfe22762b11844211a37c4bb2f264"> 1499</a></span>&#160;    value = std::is_integral&lt;T&gt;::value &amp;&amp; !std::is_same&lt;T, bool&gt;::value &amp;&amp;</div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;            !std::is_same&lt;T, char&gt;::value &amp;&amp; !std::is_same&lt;T, wchar_t&gt;::value</div><div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;  };</div><div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;};</div><div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;</div><div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01505"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1width__checker.html"> 1505</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1width__checker.html">width_checker</a>: <span class="keyword">public</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1function.html">function</a>&lt;unsigned long long&gt; {</div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01507"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a63630366e25e4dec187bc186976bf0d3"> 1507</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a63630366e25e4dec187bc186976bf0d3">width_checker</a>(ErrorHandler &amp;eh) : handler_(eh) {}</div><div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;</div><div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a></div><div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;  <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l01512"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a69ee4d46cb35d94fdc14aeb469781957"> 1512</a></span>&#160;      <a class="code" href="structfmt_1_1v5_1_1internal_1_1is__integer.html">is_integer&lt;T&gt;::value</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a69ee4d46cb35d94fdc14aeb469781957">operator()</a>(T value) {</div><div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">is_negative</a>(value))</div><div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>&#160;      handler_.on_error(<span class="stringliteral">&quot;negative width&quot;</span>);</div><div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">&gt;</span>(value);</div><div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;  }</div><div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;</div><div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l01520"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a5cbe5b8226dc90636572d2e0d2b30c01"> 1520</a></span>&#160;      !<a class="code" href="structfmt_1_1v5_1_1internal_1_1is__integer.html">is_integer&lt;T&gt;::value</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a5cbe5b8226dc90636572d2e0d2b30c01">operator()</a>(T) {</div><div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160;    handler_.on_error(<span class="stringliteral">&quot;width is not integer&quot;</span>);</div><div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160;  }</div><div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;</div><div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>&#160;  ErrorHandler &amp;handler_;</div><div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>&#160;};</div><div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>&#160;</div><div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01530"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html"> 1530</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html">precision_checker</a>: <span class="keyword">public</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1function.html">function</a>&lt;unsigned long long&gt; {</div><div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01532"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#ad03d296cfbb86da629a4d0a2ab7abdd8"> 1532</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#ad03d296cfbb86da629a4d0a2ab7abdd8">precision_checker</a>(ErrorHandler &amp;eh) : handler_(eh) {}</div><div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160;</div><div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l01536"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#aef64950df9269488dea1a8f1c91fc3bc"> 1536</a></span>&#160;      <a class="code" href="structfmt_1_1v5_1_1internal_1_1is__integer.html">is_integer&lt;T&gt;::value</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#aef64950df9269488dea1a8f1c91fc3bc">operator()</a>(T value) {</div><div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">is_negative</a>(value))</div><div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;      handler_.on_error(<span class="stringliteral">&quot;negative precision&quot;</span>);</div><div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">&gt;</span>(value);</div><div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;  }</div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;</div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l01544"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#a091ba51843b08d80ef6d332adf95949a"> 1544</a></span>&#160;      !<a class="code" href="structfmt_1_1v5_1_1internal_1_1is__integer.html">is_integer&lt;T&gt;::value</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#a091ba51843b08d80ef6d332adf95949a">operator()</a>(T) {</div><div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;    handler_.on_error(<span class="stringliteral">&quot;precision is not integer&quot;</span>);</div><div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;  }</div><div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;</div><div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>&#160;  ErrorHandler &amp;handler_;</div><div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;};</div><div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;<span class="comment">// A format specifier handler that sets fields in basic_format_specs.</span></div><div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01555"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html"> 1555</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a> {</div><div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01557"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a21d719b2dfe968433047cb65d91f1bc5"> 1557</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a21d719b2dfe968433047cb65d91f1bc5">specs_setter</a>(<a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;Char&gt;</a> &amp;specs):</div><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;    specs_(specs) {}</div><div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;</div><div class="line"><a name="l01560"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aebafbc2312741d5dd5290df3afadcfe5"> 1560</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aebafbc2312741d5dd5290df3afadcfe5">specs_setter</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a> &amp;other): specs_(other.specs_) {}</div><div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;</div><div class="line"><a name="l01562"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1a5c67ffa1e2120fbbb6ce62dd2b0c61"> 1562</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1a5c67ffa1e2120fbbb6ce62dd2b0c61">on_align</a>(<a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> align) { specs_.align_ = align; }</div><div class="line"><a name="l01563"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a0109570b2d60f43af209bd9f42f81f50"> 1563</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a0109570b2d60f43af209bd9f42f81f50">on_fill</a>(Char <a class="code" href="structfmt_1_1v5_1_1internal_1_1fill.html">fill</a>) { specs_.fill_ = fill; }</div><div class="line"><a name="l01564"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1ec03a0f5d574c5dd31b0ebaa810029a"> 1564</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1ec03a0f5d574c5dd31b0ebaa810029a">on_plus</a>() { specs_.flags |= <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a> | <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">PLUS_FLAG</a>; }</div><div class="line"><a name="l01565"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8a81bc15ccaed031629365ee8b57104d"> 1565</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8a81bc15ccaed031629365ee8b57104d">on_minus</a>() { specs_.flags |= <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaaaf7cf0b0f8341fafc6ab56b5c5c77f03">MINUS_FLAG</a>; }</div><div class="line"><a name="l01566"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a415ee68e15aa5943d16bcc24fecc5596"> 1566</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a415ee68e15aa5943d16bcc24fecc5596">on_space</a>() { specs_.flags |= <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a>; }</div><div class="line"><a name="l01567"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a02f2dcb84c84e7b7050cb380ca53f37b"> 1567</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a02f2dcb84c84e7b7050cb380ca53f37b">on_hash</a>() { specs_.flags |= <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>; }</div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;</div><div class="line"><a name="l01569"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a5620d3455b48a3110b4b2b2312c9fb5a"> 1569</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a5620d3455b48a3110b4b2b2312c9fb5a">on_zero</a>() {</div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;    specs_.align_ = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">ALIGN_NUMERIC</a>;</div><div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;    specs_.fill_ = <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;  }</div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;</div><div class="line"><a name="l01574"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8ec97ee5743a7adb1d27793190004066"> 1574</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8ec97ee5743a7adb1d27793190004066">on_width</a>(<span class="keywordtype">unsigned</span> width) { specs_.width_ = width; }</div><div class="line"><a name="l01575"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aad41fe0a8b8b0f452f866e51d3dbf1b1"> 1575</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aad41fe0a8b8b0f452f866e51d3dbf1b1">on_precision</a>(<span class="keywordtype">unsigned</span> precision) {</div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;    specs_.precision = <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(precision);</div><div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160;  }</div><div class="line"><a name="l01578"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#af040082b7ccbdc2929c4f0c28aebd744"> 1578</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#af040082b7ccbdc2929c4f0c28aebd744">end_precision</a>() {}</div><div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;</div><div class="line"><a name="l01580"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aa11c3c244e8b5343d50a9ba6407b0b24"> 1580</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aa11c3c244e8b5343d50a9ba6407b0b24">on_type</a>(Char <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>) {</div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;    specs_.type = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>);</div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160;  }</div><div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;</div><div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l01585"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#adc8b8640bbe954506ebf019a8c8ac3e5"> 1585</a></span>&#160;  <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;Char&gt;</a> &amp;<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#adc8b8640bbe954506ebf019a8c8ac3e5">specs_</a>;</div><div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160;};</div><div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;</div><div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;<span class="comment">// A format specifier handler that checks if specifiers are consistent with the</span></div><div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;<span class="comment">// argument type.</span></div><div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01591"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html"> 1591</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">specs_checker</a> : <span class="keyword">public</span> Handler {</div><div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01593"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#afa76923c1c5c5315391d2fd5888cea92"> 1593</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#afa76923c1c5c5315391d2fd5888cea92">specs_checker</a>(<span class="keyword">const</span> Handler&amp; handler, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">internal::type</a> arg_type)</div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;    : Handler(handler), arg_type_(arg_type) {}</div><div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160;</div><div class="line"><a name="l01596"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aeca1b02a34ced815eb453609e3906752"> 1596</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aeca1b02a34ced815eb453609e3906752">specs_checker</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">specs_checker</a> &amp;other)</div><div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;    : Handler(other), arg_type_(other.arg_type_) {}</div><div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;</div><div class="line"><a name="l01599"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#abce5f587ed4b5a7461b1c2812e7650a7"> 1599</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#abce5f587ed4b5a7461b1c2812e7650a7">on_align</a>(<a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> align) {</div><div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;    <span class="keywordflow">if</span> (align == ALIGN_NUMERIC)</div><div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;      require_numeric_argument();</div><div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;    Handler::on_align(align);</div><div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;  }</div><div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;</div><div class="line"><a name="l01605"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aa8f05ebfb4d08764760e94b3ed9d89c3"> 1605</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aa8f05ebfb4d08764760e94b3ed9d89c3">on_plus</a>() {</div><div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160;    check_sign();</div><div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;    Handler::on_plus();</div><div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160;  }</div><div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160;</div><div class="line"><a name="l01610"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a8e9c7bb30c9a44f86aaabd956358452b"> 1610</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a8e9c7bb30c9a44f86aaabd956358452b">on_minus</a>() {</div><div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;    check_sign();</div><div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>&#160;    Handler::on_minus();</div><div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;  }</div><div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;</div><div class="line"><a name="l01615"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#af0240aa8eb685e3e6b5350e18fae20b2"> 1615</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#af0240aa8eb685e3e6b5350e18fae20b2">on_space</a>() {</div><div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;    check_sign();</div><div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;    Handler::on_space();</div><div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>&#160;  }</div><div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;</div><div class="line"><a name="l01620"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a13f99fab9887df8c7e6502787a278bfb"> 1620</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a13f99fab9887df8c7e6502787a278bfb">on_hash</a>() {</div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;    require_numeric_argument();</div><div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;    Handler::on_hash();</div><div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;  }</div><div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;</div><div class="line"><a name="l01625"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a548e6a06b4a2d1af66f4acfe575e2a76"> 1625</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a548e6a06b4a2d1af66f4acfe575e2a76">on_zero</a>() {</div><div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;    require_numeric_argument();</div><div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>&#160;    Handler::on_zero();</div><div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>&#160;  }</div><div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>&#160;</div><div class="line"><a name="l01630"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#adc19ccf22ffc0997293bdf759711b6e7"> 1630</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#adc19ccf22ffc0997293bdf759711b6e7">end_precision</a>() {</div><div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a9310b701f90ea156eb6abd7aa4f199cb">is_integral</a>(arg_type_) || arg_type_ == <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a355d7dd1bc164c3b845d96bb5ba1a5c0">pointer_type</a>)</div><div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>&#160;      this-&gt;on_error(<span class="stringliteral">&quot;precision not allowed for this argument type&quot;</span>);</div><div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>&#160;  }</div><div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>&#160;</div><div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> require_numeric_argument() {</div><div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac78801118381630acf4a9e778e67f6ee">is_arithmetic</a>(arg_type_))</div><div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;      this-&gt;on_error(<span class="stringliteral">&quot;format specifier requires numeric argument&quot;</span>);</div><div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160;  }</div><div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;</div><div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> check_sign() {</div><div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>&#160;    require_numeric_argument();</div><div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a9310b701f90ea156eb6abd7aa4f199cb">is_integral</a>(arg_type_) &amp;&amp; arg_type_ != <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aee2e9fd562a7d50e7e47e5f82188d4d5">int_type</a> &amp;&amp;</div><div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>&#160;        arg_type_ != <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13ae7a9e0deca92ad9278f3def34dafd2c8">long_long_type</a> &amp;&amp; arg_type_ != <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">internal::char_type</a>) {</div><div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>&#160;      this-&gt;on_error(<span class="stringliteral">&quot;format specifier requires signed argument&quot;</span>);</div><div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>&#160;    }</div><div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>&#160;  }</div><div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>&#160;</div><div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">internal::type</a> arg_type_;</div><div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>&#160;};</div><div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160;</div><div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>&gt; <span class="keyword">class </span>Handler, <span class="keyword">typename</span> T,</div><div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;          <span class="keyword">typename</span> Context, <span class="keyword">typename</span> ErrorHandler&gt;</div><div class="line"><a name="l01654"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aa59e73ee062ec382675c0e65d9123b5c"> 1654</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa59e73ee062ec382675c0e65d9123b5c">set_dynamic_spec</a>(</div><div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;    T &amp;value, <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">basic_format_arg&lt;Context&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>, ErrorHandler eh) {</div><div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> big_value =</div><div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>&#160;      <a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(Handler&lt;ErrorHandler&gt;(eh), arg);</div><div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>&#160;  <span class="keywordflow">if</span> (big_value &gt; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">to_unsigned</a>((std::numeric_limits&lt;int&gt;::max)()))</div><div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>&#160;    eh.on_error(<span class="stringliteral">&quot;number is too big&quot;</span>);</div><div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>&#160;  value = <span class="keyword">static_cast&lt;</span>T<span class="keyword">&gt;</span>(big_value);</div><div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;}</div><div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>&#160;</div><div class="line"><a name="l01663"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1auto__id.html"> 1663</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1auto__id.html">auto_id</a> {};</div><div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>&#160;</div><div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>&#160;<span class="comment">// The standard format specifier handler with checking.</span></div><div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l01667"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html"> 1667</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html">specs_handler</a>: <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a>&lt;typename Context::char_type&gt; {</div><div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01669"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#ab634b0a93a600c943d708af3ba46805e"> 1669</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">Context::char_type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#ab634b0a93a600c943d708af3ba46805e">char_type</a>;</div><div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;</div><div class="line"><a name="l01671"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a932e093eb37337b0985205de75f43ab4"> 1671</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a932e093eb37337b0985205de75f43ab4">specs_handler</a>(</div><div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;      <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;char_type&gt;</a> &amp;specs, Context &amp;ctx)</div><div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;    : <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a>&lt;char_type&gt;(specs), context_(ctx) {}</div><div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>&#160;</div><div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01676"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a3577cd82b12c640ecd649dea25c1e4a6"> 1676</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a3577cd82b12c640ecd649dea25c1e4a6">on_dynamic_width</a>(Id arg_id) {</div><div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>&#160;    set_dynamic_spec&lt;width_checker&gt;(</div><div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>&#160;          this-&gt;specs_.width_, get_arg(arg_id), context_.error_handler());</div><div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>&#160;  }</div><div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160;</div><div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01682"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a1e09219c0d595a59d9271600ecffcc7b"> 1682</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a1e09219c0d595a59d9271600ecffcc7b">on_dynamic_precision</a>(Id arg_id) {</div><div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>&#160;    set_dynamic_spec&lt;precision_checker&gt;(</div><div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>&#160;          this-&gt;specs_.precision, get_arg(arg_id), context_.error_handler());</div><div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>&#160;  }</div><div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>&#160;</div><div class="line"><a name="l01687"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a4bb79b8a65ceec46b89cdd048abff739"> 1687</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a4bb79b8a65ceec46b89cdd048abff739">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) {</div><div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>&#160;    context_.on_error(message);</div><div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>&#160;  }</div><div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>&#160;</div><div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">basic_format_arg&lt;Context&gt;</a> get_arg(<a class="code" href="structfmt_1_1v5_1_1internal_1_1auto__id.html">auto_id</a>) {</div><div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160;    <span class="keywordflow">return</span> context_.next_arg();</div><div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160;  }</div><div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>&#160;</div><div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">basic_format_arg&lt;Context&gt;</a> get_arg(Id arg_id) {</div><div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;    context_.parse_context().check_arg_id(arg_id);</div><div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;    <span class="keywordflow">return</span> context_.get_arg(arg_id);</div><div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;  }</div><div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>&#160;</div><div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>&#160;  Context &amp;context_;</div><div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;};</div><div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;</div><div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;<span class="comment">// An argument reference.</span></div><div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01707"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html"> 1707</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref</a> {</div><div class="line"><a name="l01708"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a506047c25d9e5272850b4efe1b2fba69af74dc3a4fdb7441bc5d0a3885e6b22b4"> 1708</a></span>&#160;  <span class="keyword">enum</span> Kind { <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a506047c25d9e5272850b4efe1b2fba69af74dc3a4fdb7441bc5d0a3885e6b22b4">NONE</a>, INDEX, NAME };</div><div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;</div><div class="line"><a name="l01710"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#acdc7af3b0c98da49b1d8200d8a9c23ff"> 1710</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#acdc7af3b0c98da49b1d8200d8a9c23ff">arg_ref</a>() : kind(NONE), index(0) {}</div><div class="line"><a name="l01711"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a830077cd847dfe72567f92bdb9a7b847"> 1711</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">explicit</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a830077cd847dfe72567f92bdb9a7b847">arg_ref</a>(<span class="keywordtype">unsigned</span> index) : kind(INDEX), index(index) {}</div><div class="line"><a name="l01712"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a283634a312bcc2e6a5eaf7483a27860b"> 1712</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a283634a312bcc2e6a5eaf7483a27860b">arg_ref</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> nm) : kind(NAME) {</div><div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;    name = {nm.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">data</a>(), nm.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>()};</div><div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;  }</div><div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;</div><div class="line"><a name="l01716"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#ae2a99fa912b67cda62fcce7a7c7bc976"> 1716</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref</a> &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#ae2a99fa912b67cda62fcce7a7c7bc976">operator=</a>(<span class="keywordtype">unsigned</span> idx) {</div><div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;    kind = INDEX;</div><div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160;    index = idx;</div><div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>&#160;  }</div><div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;</div><div class="line"><a name="l01722"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a8b82cfcb68b97554142d75a2d71afbcd"> 1722</a></span>&#160;  Kind <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a8b82cfcb68b97554142d75a2d71afbcd">kind</a>;</div><div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;  <span class="keyword">union </span>{</div><div class="line"><a name="l01724"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a0ca425c4d66eb220b23180538508f089"> 1724</a></span>&#160;    <span class="keywordtype">unsigned</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a0ca425c4d66eb220b23180538508f089">index</a>;</div><div class="line"><a name="l01725"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#af240860ec3c7ab05495ec8380b3e3479"> 1725</a></span>&#160;    <a class="code" href="structfmt_1_1v5_1_1internal_1_1string__value.html">string_value&lt;Char&gt;</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#af240860ec3c7ab05495ec8380b3e3479">name</a>;  <span class="comment">// This is not string_view because of gcc 4.4.</span></div><div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;  };</div><div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;};</div><div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;</div><div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>&#160;<span class="comment">// Format specifiers with width and precision resolved at formatting rather</span></div><div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;<span class="comment">// than parsing time to allow re-using the same parsed specifiers with</span></div><div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;<span class="comment">// differents sets of arguments (precompilation of format strings).</span></div><div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01733"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html"> 1733</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">dynamic_format_specs</a> : <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs</a>&lt;Char&gt; {</div><div class="line"><a name="l01734"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a83d7ae45b8fc003f531e2f996b51c9b3"> 1734</a></span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;Char&gt;</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a83d7ae45b8fc003f531e2f996b51c9b3">width_ref</a>;</div><div class="line"><a name="l01735"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a889a59c0e42b1be665f320085fecd117"> 1735</a></span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;Char&gt;</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a889a59c0e42b1be665f320085fecd117">precision_ref</a>;</div><div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;};</div><div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;</div><div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;<span class="comment">// Format spec handler that saves references to arguments representing dynamic</span></div><div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;<span class="comment">// width and precision to be resolved at formatting time.</span></div><div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ParseContext&gt;</div><div class="line"><a name="l01741"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html"> 1741</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html">dynamic_specs_handler</a> :</div><div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;    <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a>&lt;typename ParseContext::char_type&gt; {</div><div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l01744"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a91e483d3cf1a54ee8c6163572442888a"> 1744</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">ParseContext::char_type</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a91e483d3cf1a54ee8c6163572442888a">char_type</a>;</div><div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;</div><div class="line"><a name="l01746"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#aeca213f76448b8e011beaa446d70203d"> 1746</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#aeca213f76448b8e011beaa446d70203d">dynamic_specs_handler</a>(</div><div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;      <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">dynamic_format_specs&lt;char_type&gt;</a> &amp;specs, ParseContext &amp;ctx)</div><div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;    : <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a>&lt;char_type&gt;(specs), specs_(specs), context_(ctx) {}</div><div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160;</div><div class="line"><a name="l01750"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a5c4733e658ce853293a499f06461f7c9"> 1750</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a5c4733e658ce853293a499f06461f7c9">dynamic_specs_handler</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html">dynamic_specs_handler</a> &amp;other)</div><div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;    : <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">specs_setter</a>&lt;char_type&gt;(other),</div><div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;      specs_(other.specs_), context_(other.context_) {}</div><div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;</div><div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01755"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#ad86ceb430a696429d7d9ccb2e295f725"> 1755</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#ad86ceb430a696429d7d9ccb2e295f725">on_dynamic_width</a>(Id arg_id) {</div><div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>&#160;    specs_.width_ref = make_arg_ref(arg_id);</div><div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>&#160;  }</div><div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;</div><div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01760"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a308cbb025165a2b6183eb1064919abb7"> 1760</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a308cbb025165a2b6183eb1064919abb7">on_dynamic_precision</a>(Id arg_id) {</div><div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>&#160;    specs_.precision_ref = make_arg_ref(arg_id);</div><div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>&#160;  }</div><div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;</div><div class="line"><a name="l01764"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a884a3f983b8dd92638bdcfc2efa0fef0"> 1764</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a884a3f983b8dd92638bdcfc2efa0fef0">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) {</div><div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;    context_.on_error(message);</div><div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>&#160;  }</div><div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>&#160;</div><div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;char_type&gt;</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref_type</a>;</div><div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;</div><div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Id&gt;</div><div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> arg_ref_type make_arg_ref(Id arg_id) {</div><div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;    context_.check_arg_id(arg_id);</div><div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;    <span class="keywordflow">return</span> arg_ref_type(arg_id);</div><div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;  }</div><div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;</div><div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> arg_ref_type make_arg_ref(<a class="code" href="structfmt_1_1v5_1_1internal_1_1auto__id.html">auto_id</a>) {</div><div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;    <span class="keywordflow">return</span> arg_ref_type(context_.next_arg_id());</div><div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;  }</div><div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>&#160;</div><div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">dynamic_format_specs&lt;char_type&gt;</a> &amp;specs_;</div><div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>&#160;  ParseContext &amp;context_;</div><div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160;};</div><div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>&#160;</div><div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> IDHandler&gt;</div><div class="line"><a name="l01786"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6"> 1786</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6">parse_arg_id</a>(</div><div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>&#160;    <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, IDHandler &amp;&amp;handler) {</div><div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;  assert(begin != end);</div><div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;  Char c = *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;  <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;}&#39;</span> || c == <span class="charliteral">&#39;:&#39;</span>)</div><div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;    <span class="keywordflow">return</span> handler(), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160;  <span class="keywordflow">if</span> (c &gt;= <span class="charliteral">&#39;0&#39;</span> &amp;&amp; c &lt;= <span class="charliteral">&#39;9&#39;</span>) {</div><div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;    <span class="keywordtype">unsigned</span> index = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f">parse_nonnegative_int</a>(begin, end, handler);</div><div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;    <span class="keywordflow">if</span> (begin == end || (*begin != <span class="charliteral">&#39;}&#39;</span> &amp;&amp; *begin != <span class="charliteral">&#39;:&#39;</span>))</div><div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;      <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid format string&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;    handler(index);</div><div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;  }</div><div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa601e9520a59e9c38b71eba828ebd063">is_name_start</a>(c))</div><div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;    <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid format string&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;  <span class="keyword">auto</span> it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;  <span class="keywordflow">do</span> {</div><div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;    ++it;</div><div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;  } <span class="keywordflow">while</span> (it != end &amp;&amp; (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa601e9520a59e9c38b71eba828ebd063">is_name_start</a>(c = *it) || (<span class="charliteral">&#39;0&#39;</span> &lt;= c &amp;&amp; c &lt;= <span class="charliteral">&#39;9&#39;</span>)));</div><div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;  handler(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a>(begin, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">to_unsigned</a>(it - begin)));</div><div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>&#160;  <span class="keywordflow">return</span> it;</div><div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;}</div><div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;</div><div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;<span class="comment">// Adapts SpecHandler to IDHandler API for dynamic width.</span></div><div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> SpecHandler, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01811"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html"> 1811</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html">width_adapter</a> {</div><div class="line"><a name="l01812"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a7216841a9338f38f757dd93a9a6f2869"> 1812</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a7216841a9338f38f757dd93a9a6f2869">width_adapter</a>(SpecHandler &amp;h) : handler(h) {}</div><div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;</div><div class="line"><a name="l01814"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3f0b73ae2cec14566f76d0f5977dc32c"> 1814</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3f0b73ae2cec14566f76d0f5977dc32c">operator()</a>() { handler.on_dynamic_width(<a class="code" href="structfmt_1_1v5_1_1internal_1_1auto__id.html">auto_id</a>()); }</div><div class="line"><a name="l01815"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#ac02c304cf7b266259fd689c7c336935d"> 1815</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#ac02c304cf7b266259fd689c7c336935d">operator()</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) { handler.on_dynamic_width(<span class="keywordtype">id</span>); }</div><div class="line"><a name="l01816"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3b64e9078c79528825385b55cbf1e34c"> 1816</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3b64e9078c79528825385b55cbf1e34c">operator()</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;    handler.on_dynamic_width(<span class="keywordtype">id</span>);</div><div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>&#160;  }</div><div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>&#160;</div><div class="line"><a name="l01820"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3d13e902cc03addce9102d21294260a6"> 1820</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3d13e902cc03addce9102d21294260a6">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) {</div><div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160;    handler.on_error(message);</div><div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;  }</div><div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;</div><div class="line"><a name="l01824"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a524519bc859077ddaa45e229adafddcf"> 1824</a></span>&#160;  SpecHandler &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a524519bc859077ddaa45e229adafddcf">handler</a>;</div><div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;};</div><div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;</div><div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;<span class="comment">// Adapts SpecHandler to IDHandler API for dynamic precision.</span></div><div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> SpecHandler, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01829"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html"> 1829</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html">precision_adapter</a> {</div><div class="line"><a name="l01830"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aca2d85b4bd5747fb96a880034a6e4d14"> 1830</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aca2d85b4bd5747fb96a880034a6e4d14">precision_adapter</a>(SpecHandler &amp;h) : handler(h) {}</div><div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160;</div><div class="line"><a name="l01832"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a428b2cb22f69719987193e9b49f4bf9d"> 1832</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a428b2cb22f69719987193e9b49f4bf9d">operator()</a>() { handler.on_dynamic_precision(<a class="code" href="structfmt_1_1v5_1_1internal_1_1auto__id.html">auto_id</a>()); }</div><div class="line"><a name="l01833"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a36e54d0d8eca245cbb452460373122df"> 1833</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a36e54d0d8eca245cbb452460373122df">operator()</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>&#160;    handler.on_dynamic_precision(<span class="keywordtype">id</span>);</div><div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;  }</div><div class="line"><a name="l01836"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa71ca1e30b68b25348bb19bb2e056869"> 1836</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa71ca1e30b68b25348bb19bb2e056869">operator()</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160;    handler.on_dynamic_precision(<span class="keywordtype">id</span>);</div><div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>&#160;  }</div><div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;</div><div class="line"><a name="l01840"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa5e2b37a4b3cafed33be6fcc69bb8d98"> 1840</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa5e2b37a4b3cafed33be6fcc69bb8d98">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) { handler.on_error(message); }</div><div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;</div><div class="line"><a name="l01842"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aac38ce68b195f734a981b68497fcac77"> 1842</a></span>&#160;  SpecHandler &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aac38ce68b195f734a981b68497fcac77">handler</a>;</div><div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;};</div><div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;</div><div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160;<span class="comment">// Parses fill and alignment.</span></div><div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01847"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aaee1761c014bc6a5ca7be7fcb48f6a1e"> 1847</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aaee1761c014bc6a5ca7be7fcb48f6a1e">parse_align</a>(</div><div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;    <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160;  <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(begin != end, <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a> align = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>;</div><div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;  <span class="keywordtype">int</span> i = 0;</div><div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;  <span class="keywordflow">if</span> (begin + 1 != end) ++i;</div><div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;  <span class="keywordflow">do</span> {</div><div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160;    <span class="keywordflow">switch</span> (static_cast&lt;char&gt;(begin[i])) {</div><div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;    <span class="keywordflow">case</span> <span class="charliteral">&#39;&lt;&#39;</span>:</div><div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;      align = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a824a96ce4113d35438ba2c14845de1c3">ALIGN_LEFT</a>;</div><div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;    <span class="keywordflow">case</span> <span class="charliteral">&#39;&gt;&#39;</span>:</div><div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;      align = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>;</div><div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>&#160;    <span class="keywordflow">case</span> <span class="charliteral">&#39;=&#39;</span>:</div><div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>&#160;      align = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">ALIGN_NUMERIC</a>;</div><div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>&#160;    <span class="keywordflow">case</span> <span class="charliteral">&#39;^&#39;</span>:</div><div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>&#160;      align = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a6cf58d6a173204a962db3dae30a01d8c">ALIGN_CENTER</a>;</div><div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>&#160;    }</div><div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160;    <span class="keywordflow">if</span> (align != <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>) {</div><div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>&#160;      <span class="keywordflow">if</span> (i &gt; 0) {</div><div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160;        <span class="keyword">auto</span> c = *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>&#160;        <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;{&#39;</span>)</div><div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>&#160;          <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid fill character &#39;{&#39;&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;        begin += 2;</div><div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;        handler.on_fill(c);</div><div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;      } <span class="keywordflow">else</span> ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160;      handler.on_align(align);</div><div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;    }</div><div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;  } <span class="keywordflow">while</span> (i-- &gt; 0);</div><div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;}</div><div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;</div><div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01884"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a7ac857188cb657852d3dd2fcb223a331"> 1884</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a7ac857188cb657852d3dd2fcb223a331">parse_width</a>(</div><div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>&#160;    <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, Handler &amp;&amp;handler) {</div><div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>&#160;  <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(begin != end, <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>&#160;  <span class="keywordflow">if</span> (<span class="charliteral">&#39;0&#39;</span> &lt;= *begin &amp;&amp; *begin &lt;= <span class="charliteral">&#39;9&#39;</span>) {</div><div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>&#160;    handler.on_width(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f">parse_nonnegative_int</a>(begin, end, handler));</div><div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>&#160;  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (*begin == <span class="charliteral">&#39;{&#39;</span>) {</div><div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>&#160;    <span class="keywordflow">if</span> (begin != end)</div><div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>&#160;      begin = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6">parse_arg_id</a>(begin, end, <a class="code" href="structfmt_1_1v5_1_1internal_1_1width__adapter.html">width_adapter&lt;Handler, Char&gt;</a>(handler));</div><div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>&#160;    <span class="keywordflow">if</span> (begin == end || *begin != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>&#160;      <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid format string&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160;  }</div><div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;}</div><div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160;</div><div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;<span class="comment">// Parses standard format specifiers and sends notifications about parsed</span></div><div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>&#160;<span class="comment">// components to handler.</span></div><div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> SpecHandler&gt;</div><div class="line"><a name="l01903"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ac584bbf50f1e0e44628a7a53c4ec9149"> 1903</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">parse_format_specs</a>(</div><div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;    <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, SpecHandler &amp;&amp;handler) {</div><div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;  <span class="keywordflow">if</span> (begin == end || *begin == <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;</div><div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;  begin = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aaee1761c014bc6a5ca7be7fcb48f6a1e">parse_align</a>(begin, end, handler);</div><div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;  <span class="keywordflow">if</span> (begin == end) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>&#160;</div><div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>&#160;  <span class="comment">// Parse sign.</span></div><div class="line"><a name="l01912"></a><span class="lineno"> 1912</span>&#160;  <span class="keywordflow">switch</span> (static_cast&lt;char&gt;(*begin)) {</div><div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;+&#39;</span>:</div><div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>&#160;    handler.on_plus();</div><div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39;-&#39;</span>:</div><div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160;    handler.on_minus();</div><div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;  <span class="keywordflow">case</span> <span class="charliteral">&#39; &#39;</span>:</div><div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>&#160;    handler.on_space();</div><div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;  }</div><div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160;  <span class="keywordflow">if</span> (begin == end) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;</div><div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>&#160;  <span class="keywordflow">if</span> (*begin == <span class="charliteral">&#39;#&#39;</span>) {</div><div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;    handler.on_hash();</div><div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;    <span class="keywordflow">if</span> (++begin == end) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;  }</div><div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160;</div><div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;  <span class="comment">// Parse zero flag.</span></div><div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160;  <span class="keywordflow">if</span> (*begin == <span class="charliteral">&#39;0&#39;</span>) {</div><div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>&#160;    handler.on_zero();</div><div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160;    <span class="keywordflow">if</span> (++begin == end) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>&#160;  }</div><div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160;</div><div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>&#160;  begin = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a7ac857188cb657852d3dd2fcb223a331">parse_width</a>(begin, end, handler);</div><div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>&#160;  <span class="keywordflow">if</span> (begin == end) <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;</div><div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;  <span class="comment">// Parse precision.</span></div><div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;  <span class="keywordflow">if</span> (*begin == <span class="charliteral">&#39;.&#39;</span>) {</div><div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;    ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;    <span class="keyword">auto</span> c = begin != end ? *begin : 0;</div><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;    <span class="keywordflow">if</span> (<span class="charliteral">&#39;0&#39;</span> &lt;= c &amp;&amp; c &lt;= <span class="charliteral">&#39;9&#39;</span>) {</div><div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>&#160;      handler.on_precision(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f">parse_nonnegative_int</a>(begin, end, handler));</div><div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;{&#39;</span>) {</div><div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>&#160;      ++<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>&#160;      <span class="keywordflow">if</span> (begin != end) {</div><div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>&#160;        begin = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6">parse_arg_id</a>(</div><div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>&#160;              begin, end, <a class="code" href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html">precision_adapter&lt;SpecHandler, Char&gt;</a>(handler));</div><div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>&#160;      }</div><div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;      <span class="keywordflow">if</span> (begin == end || *begin++ != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>&#160;        <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid format string&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;      <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;missing precision specifier&quot;</span>), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;    }</div><div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;    handler.end_precision();</div><div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160;  }</div><div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;</div><div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>&#160;  <span class="comment">// Parse type.</span></div><div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>&#160;  <span class="keywordflow">if</span> (begin != end &amp;&amp; *begin != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>&#160;    handler.on_type(*begin++);</div><div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>&#160;}</div><div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>&#160;</div><div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>&#160;<span class="comment">// Return the result via the out param to workaround gcc bug 77539.</span></div><div class="line"><a name="l01969"></a><span class="lineno"> 1969</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">bool</span> IS_CONSTEXPR, <span class="keyword">typename</span> T, <span class="keyword">typename</span> Ptr = const T*&gt;</div><div class="line"><a name="l01970"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#aaa8ec781ec26a204da9f38e66a8ede8f"> 1970</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">bool</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aaa8ec781ec26a204da9f38e66a8ede8f">find</a>(Ptr first, Ptr last, T value, Ptr &amp;out) {</div><div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;  <span class="keywordflow">for</span> (out = first; out != last; ++out) {</div><div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160;    <span class="keywordflow">if</span> (*out == value)</div><div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>&#160;  }</div><div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>&#160;}</div><div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>&#160;</div><div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l01979"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a5b9fc2504a981744ae35cf292930b4a6"> 1979</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5b9fc2504a981744ae35cf292930b4a6">find&lt;false, char&gt;</a>(</div><div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *first, <span class="keyword">const</span> <span class="keywordtype">char</span> *last, <span class="keywordtype">char</span> value, <span class="keyword">const</span> <span class="keywordtype">char</span> *&amp;out) {</div><div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;  out = <span class="keyword">static_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">char</span>*<span class="keyword">&gt;</span>(std::memchr(first, value, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(last - first)));</div><div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>&#160;  <span class="keywordflow">return</span> out != <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>;</div><div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>&#160;}</div><div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>&#160;</div><div class="line"><a name="l01985"></a><span class="lineno"> 1985</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Handler, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l01986"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html"> 1986</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html">id_adapter</a> {</div><div class="line"><a name="l01987"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#ae84a96563d3159d5749665b00f000758"> 1987</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#ae84a96563d3159d5749665b00f000758">operator()</a>() { handler.on_arg_id(); }</div><div class="line"><a name="l01988"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a64e5a16f6183b57476f9e15af2aaf866"> 1988</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a64e5a16f6183b57476f9e15af2aaf866">operator()</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) { handler.on_arg_id(<span class="keywordtype">id</span>); }</div><div class="line"><a name="l01989"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a281a7335138c4e7a2bb5f9c7456659e8"> 1989</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a281a7335138c4e7a2bb5f9c7456659e8">operator()</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;    handler.on_arg_id(<span class="keywordtype">id</span>);</div><div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;  }</div><div class="line"><a name="l01992"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a75ba87fda26a74c86407b89b4785fcc0"> 1992</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a75ba87fda26a74c86407b89b4785fcc0">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) {</div><div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>&#160;    handler.on_error(message);</div><div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;  }</div><div class="line"><a name="l01995"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a071bc1ed2aaa59cfbfccefb11d0f0cc4"> 1995</a></span>&#160;  Handler &amp;<a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a071bc1ed2aaa59cfbfccefb11d0f0cc4">handler</a>;</div><div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;};</div><div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>&#160;</div><div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">bool</span> IS_CONSTEXPR, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> Handler&gt;</div><div class="line"><a name="l01999"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a113eb41a02e482540b90183e4ad7ca27"> 1999</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a113eb41a02e482540b90183e4ad7ca27">parse_format_string</a>(</div><div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160;        <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str, Handler &amp;&amp;handler) {</div><div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160;  <span class="keyword">struct </span><a class="code" href="classfmt_1_1v5_1_1basic__writer.html">writer</a> {</div><div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160;    <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> operator()(<span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>) {</div><div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>&#160;      <span class="keywordflow">if</span> (begin == end) <span class="keywordflow">return</span>;</div><div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>&#160;      <span class="keywordflow">for</span> (;;) {</div><div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>&#160;        <span class="keyword">const</span> Char *p = <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>;</div><div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160;        <span class="keywordflow">if</span> (!find&lt;IS_CONSTEXPR&gt;(begin, end, <span class="charliteral">&#39;}&#39;</span>, p))</div><div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;          <span class="keywordflow">return</span> handler_.on_text(begin, end);</div><div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;        ++p;</div><div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160;        <span class="keywordflow">if</span> (p == end || *p != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;          <span class="keywordflow">return</span> handler_.on_error(<span class="stringliteral">&quot;unmatched &#39;}&#39; in format string&quot;</span>);</div><div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;        handler_.on_text(begin, p);</div><div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160;        begin = p + 1;</div><div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160;      }</div><div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;    }</div><div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160;    Handler &amp;handler_;</div><div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;  } <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>{handler};</div><div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160;  <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a> = format_str.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">data</a>();</div><div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;  <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a> + format_str.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>();</div><div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;  <span class="keywordflow">while</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a> != <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>) {</div><div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>&#160;    <span class="comment">// Doing two passes with memchr (one for &#39;{&#39; and another for &#39;}&#39;) is up to</span></div><div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160;    <span class="comment">// 2.5x faster than the naive one-pass implementation on big format strings.</span></div><div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>&#160;    <span class="keyword">const</span> Char *p = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>&#160;    <span class="keywordflow">if</span> (*<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a> != <span class="charliteral">&#39;{&#39;</span> &amp;&amp; !find&lt;IS_CONSTEXPR&gt;(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, <span class="charliteral">&#39;{&#39;</span>, p))</div><div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>);</div><div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, p);</div><div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>&#160;    ++p;</div><div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160;    <span class="keywordflow">if</span> (p == <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>)</div><div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160;      <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;invalid format string&quot;</span>);</div><div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160;    <span class="keywordflow">if</span> (static_cast&lt;char&gt;(*p) == <span class="charliteral">&#39;}&#39;</span>) {</div><div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160;      handler.on_arg_id();</div><div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160;      handler.on_replacement_field(p);</div><div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (*p == <span class="charliteral">&#39;{&#39;</span>) {</div><div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>&#160;      handler.on_text(p, p + 1);</div><div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>&#160;      p = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6">parse_arg_id</a>(p, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, <a class="code" href="structfmt_1_1v5_1_1internal_1_1id__adapter.html">id_adapter&lt;Handler, Char&gt;</a>{handler});</div><div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160;      Char c = p != <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> ? *p : Char();</div><div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>&#160;      <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;}&#39;</span>) {</div><div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160;        handler.on_replacement_field(p);</div><div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>&#160;      } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;:&#39;</span>) {</div><div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>&#160;        p = handler.on_format_specs(p + 1, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>);</div><div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160;        <span class="keywordflow">if</span> (p == <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a> || *p != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>&#160;          <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;unknown format specifier&quot;</span>);</div><div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160;      } <span class="keywordflow">else</span> {</div><div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160;        <span class="keywordflow">return</span> handler.on_error(<span class="stringliteral">&quot;missing &#39;}&#39; in format string&quot;</span>);</div><div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>&#160;      }</div><div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160;    }</div><div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a> = p + 1;</div><div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>&#160;  }</div><div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160;}</div><div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>&#160;</div><div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> ParseContext&gt;</div><div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">ParseContext::char_type</a> *</div><div class="line"><a name="l02053"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc"> 2053</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">parse_format_specs</a>(ParseContext &amp;ctx) {</div><div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160;  <span class="comment">// GCC 7.2 requires initializer.</span></div><div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1formatter.html">formatter&lt;T, typename ParseContext::char_type&gt;</a> f{};</div><div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;  <span class="keywordflow">return</span> f.<a class="code" href="structfmt_1_1v5_1_1formatter.html#a4147e797582f75be18645d2b6aef4e57">parse</a>(ctx);</div><div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;}</div><div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;</div><div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l02060"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html"> 2060</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html">format_string_checker</a> {</div><div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02062"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#affdef5d73dd28bcbe91c68f617f7b419"> 2062</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#affdef5d73dd28bcbe91c68f617f7b419">format_string_checker</a>(</div><div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>&#160;      <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str, ErrorHandler eh)</div><div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>&#160;    : arg_id_((<a class="code" href="namespacestd.html">std</a>::numeric_limits&lt;unsigned&gt;::max)()), context_(format_str, eh),</div><div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>&#160;      parse_funcs_{&amp;parse_format_specs&lt;Args, parse_context_type&gt;...} {}</div><div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>&#160;</div><div class="line"><a name="l02067"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3fbe7d41bebcb3f3a2d29ebe3bf84dd5"> 2067</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3fbe7d41bebcb3f3a2d29ebe3bf84dd5">on_text</a>(<span class="keyword">const</span> Char *, <span class="keyword">const</span> Char *) {}</div><div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160;</div><div class="line"><a name="l02069"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a8f5842b3b1c1f74fdbfe1a7139166272"> 2069</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a8f5842b3b1c1f74fdbfe1a7139166272">on_arg_id</a>() {</div><div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160;    arg_id_ = context_.next_arg_id();</div><div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160;    check_arg_id();</div><div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160;  }</div><div class="line"><a name="l02073"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a149ce0957470639d28afc84c3205db79"> 2073</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a149ce0957470639d28afc84c3205db79">on_arg_id</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>&#160;    arg_id_ = id;</div><div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160;    context_.check_arg_id(<span class="keywordtype">id</span>);</div><div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160;    check_arg_id();</div><div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>&#160;  }</div><div class="line"><a name="l02078"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3acec6cf8e16fcae6dd75da1930684f6"> 2078</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3acec6cf8e16fcae6dd75da1930684f6">on_arg_id</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a>) {}</div><div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160;</div><div class="line"><a name="l02080"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a76c07cc9b08a444f3587b3382250107e"> 2080</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a76c07cc9b08a444f3587b3382250107e">on_replacement_field</a>(<span class="keyword">const</span> Char *) {}</div><div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160;</div><div class="line"><a name="l02082"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#af211eec79b6f10bba9828dd5bc486fb8"> 2082</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">const</span> Char *<a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#af211eec79b6f10bba9828dd5bc486fb8">on_format_specs</a>(<span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *) {</div><div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;    context_.advance_to(begin);</div><div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;    <span class="keywordflow">return</span> arg_id_ &lt; NUM_ARGS ?</div><div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160;          parse_funcs_[arg_id_](context_) : begin;</div><div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160;  }</div><div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160;</div><div class="line"><a name="l02088"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#aa08622a95cb0dd13bc3295f347f2e5ac"> 2088</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#aa08622a95cb0dd13bc3295f347f2e5ac">on_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *message) {</div><div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160;    context_.on_error(message);</div><div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>&#160;  }</div><div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>&#160;</div><div class="line"><a name="l02092"></a><span class="lineno"> 2092</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02093"></a><span class="lineno"> 2093</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__parse__context.html">basic_parse_context&lt;Char, ErrorHandler&gt;</a> <a class="code" href="classfmt_1_1v5_1_1basic__parse__context.html">parse_context_type</a>;</div><div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>&#160;  <span class="keyword">enum</span> { NUM_ARGS = <span class="keyword">sizeof</span>...(Args) };</div><div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>&#160;</div><div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">void</span> check_arg_id() {</div><div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;    <span class="keywordflow">if</span> (arg_id_ &gt;= NUM_ARGS)</div><div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;      context_.on_error(<span class="stringliteral">&quot;argument index out of range&quot;</span>);</div><div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160;  }</div><div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160;</div><div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>&#160;  <span class="comment">// Format specifier parsing function.</span></div><div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">const</span> Char *(*parse_func)(parse_context_type &amp;);</div><div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160;</div><div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>&#160;  <span class="keywordtype">unsigned</span> arg_id_;</div><div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;  parse_context_type context_;</div><div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;  parse_func parse_funcs_[NUM_ARGS &gt; 0 ? NUM_ARGS : 1];</div><div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;};</div><div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160;</div><div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, <span class="keyword">typename</span> ErrorHandler, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l02110"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#adbcd0335b87494a6785e0416aced9b09"> 2110</a></span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keywordtype">bool</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#adbcd0335b87494a6785e0416aced9b09">do_check_format_string</a>(</div><div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> s, ErrorHandler eh = ErrorHandler()) {</div><div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html">format_string_checker</a>&lt;Char, ErrorHandler, Args...&gt; checker(s, eh);</div><div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160;  parse_format_string&lt;true&gt;(s, checker);</div><div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>&#160;}</div><div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160;</div><div class="line"><a name="l02117"></a><span class="lineno"> 2117</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args, <span class="keyword">typename</span> S&gt;</div><div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160;<span class="keyword">typename</span> std::enable_if&lt;is_compile_string&lt;S&gt;::value&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l02119"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a1e8f98191fb8cde7f6fa0b768dccdab2"> 2119</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#acd0741048e2d4d76c3a549c5a6d9d857">check_format_string</a>(S format_str) {</div><div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">S::char_type</a> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__t.html">char_t</a>;</div><div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160;  <a class="code" href="core_8h.html#af4388801466a5994a363d6005616371a">FMT_CONSTEXPR_DECL</a> <span class="keywordtype">bool</span> invalid_format = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#adbcd0335b87494a6785e0416aced9b09">internal::do_check_format_string</a>&lt;</div><div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>&#160;      char_t, <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a>, Args...&gt;(<a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str));</div><div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>&#160;  (void)invalid_format;</div><div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>&#160;}</div><div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>&#160;</div><div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160;<span class="comment">// Specifies whether to format T using the standard formatter.</span></div><div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160;<span class="comment">// It is not possible to use get_type in formatter specialization directly</span></div><div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160;<span class="comment">// because of a bug in MSVC.</span></div><div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Context, <span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l02130"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1format__type.html"> 2130</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1format__type.html">format_type</a> :</div><div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160;  std::integral_constant&lt;bool, get_type&lt;Context, T&gt;::value != custom_type&gt; {};</div><div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160;</div><div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>&gt; <span class="keyword">class </span>Handler, <span class="keyword">typename</span> Spec, <span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l02134"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a7a7af692023580101e0f8028e1d0c653"> 2134</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a7a7af692023580101e0f8028e1d0c653">handle_dynamic_spec</a>(</div><div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>&#160;    Spec &amp;value, <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;typename Context::char_type&gt;</a> ref, Context &amp;ctx) {</div><div class="line"><a name="l02136"></a><span class="lineno"> 2136</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">Context::char_type</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">char_type</a>;</div><div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>&#160;  <span class="keywordflow">switch</span> (ref.<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a8b82cfcb68b97554142d75a2d71afbcd">kind</a>) {</div><div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;char_type&gt;::NONE</a>:</div><div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l02140"></a><span class="lineno"> 2140</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;char_type&gt;::INDEX</a>:</div><div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>&#160;    internal::set_dynamic_spec&lt;Handler&gt;(</div><div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>&#160;          value, ctx.get_arg(ref.<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a0ca425c4d66eb220b23180538508f089">index</a>), ctx.error_handler());</div><div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">arg_ref&lt;char_type&gt;::NAME</a>:</div><div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160;    internal::set_dynamic_spec&lt;Handler&gt;(</div><div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>&#160;          value, ctx.get_arg({ref.<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#af240860ec3c7ab05495ec8380b3e3479">name</a>.value, ref.<a class="code" href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#af240860ec3c7ab05495ec8380b3e3479">name</a>.size}),</div><div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>&#160;          ctx.error_handler());</div><div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>&#160;    <span class="keywordflow">break</span>;</div><div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160;  }</div><div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>&#160;}</div><div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160;}  <span class="comment">// namespace internal</span></div><div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160;</div><div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l02155"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html"> 2155</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1arg__formatter.html">arg_formatter</a>:</div><div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160;  <span class="keyword">public</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1function.html">internal::function</a>&lt;</div><div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>&#160;    typename internal::arg_formatter_base&lt;Range&gt;::iterator&gt;,</div><div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160;  <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">internal::arg_formatter_base</a>&lt;Range&gt; {</div><div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> Range::value_type <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">char_type</a>;</div><div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">internal::arg_formatter_base&lt;Range&gt;</a> <a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">base</a>;</div><div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">basic_format_context&lt;typename base::iterator, char_type&gt;</a> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">context_type</a>;</div><div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>&#160;</div><div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>&#160;  context_type &amp;ctx_;</div><div class="line"><a name="l02165"></a><span class="lineno"> 2165</span>&#160;</div><div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02167"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#a332fb38fd91d73717f0f3e0b2b09d3b7"> 2167</a></span>&#160;  <span class="keyword">typedef</span> Range <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#a332fb38fd91d73717f0f3e0b2b09d3b7">range</a>;</div><div class="line"><a name="l02168"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#ae170841fcffcd93c9d342f7898f9aef9"> 2168</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> base::iterator <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#ae170841fcffcd93c9d342f7898f9aef9">iterator</a>;</div><div class="line"><a name="l02169"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#aeda72496f8e7ff87432a167689a07b60"> 2169</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">base::format_specs</a> <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#aeda72496f8e7ff87432a167689a07b60">format_specs</a>;</div><div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>&#160;</div><div class="line"><a name="l02178"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#a0925c1315a81b793b5e020e496c9234c"> 2178</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#a0925c1315a81b793b5e020e496c9234c">arg_formatter</a>(context_type &amp;ctx, format_specs *spec = <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>)</div><div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160;  : base(Range(ctx.out()), spec, ctx.locale()), ctx_(ctx) {}</div><div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>&#160;</div><div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>&#160;  <span class="comment">// Deprecated.</span></div><div class="line"><a name="l02182"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#adcd84c55fb1ae473917660743d000153"> 2182</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#adcd84c55fb1ae473917660743d000153">arg_formatter</a>(context_type &amp;ctx, format_specs &amp;spec)</div><div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;  : base(Range(ctx.out()), &amp;spec), ctx_(ctx) {}</div><div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;</div><div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160;  <span class="keyword">using</span> base::operator();</div><div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>&#160;</div><div class="line"><a name="l02188"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1arg__formatter.html#a093e3203258d2dfa3fa0282cb41c6b4d"> 2188</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1arg__formatter.html#a093e3203258d2dfa3fa0282cb41c6b4d">operator()</a>(<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html">basic_format_arg&lt;context_type&gt;::handle</a> handle) {</div><div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>&#160;    handle.<a class="code" href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html#a3ff798e2ef00d3c83f895200cd4712ea">format</a>(ctx_);</div><div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>&#160;    <span class="keywordflow">return</span> this-&gt;out();</div><div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>&#160;  }</div><div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>&#160;};</div><div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>&#160;</div><div class="line"><a name="l02198"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1system__error.html"> 2198</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1system__error.html">system_error</a> : <span class="keyword">public</span> std::runtime_error {</div><div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> init(<span class="keywordtype">int</span> err_code, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> format_str, <a class="code" href="structfmt_1_1v5_1_1format__args.html">format_args</a> args);</div><div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;</div><div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l02203"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1system__error.html#ac761354e3eb707044395fd140020e796"> 2203</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfmt_1_1v5_1_1system__error.html#ac761354e3eb707044395fd140020e796">error_code_</a>;</div><div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>&#160;</div><div class="line"><a name="l02205"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1system__error.html#afab23543db82d4cebb222ac5582c29f4"> 2205</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1system__error.html#afab23543db82d4cebb222ac5582c29f4">system_error</a>() : <a class="code" href="namespacestd.html">std</a>::runtime_error(<span class="stringliteral">&quot;&quot;</span>) {}</div><div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160;</div><div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l02227"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1system__error.html#adb8fd39cacc13537bdf0265602df3b76"> 2227</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1system__error.html#adb8fd39cacc13537bdf0265602df3b76">system_error</a>(<span class="keywordtype">int</span> <a class="code" href="classfmt_1_1v5_1_1error__code.html">error_code</a>, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> message, <span class="keyword">const</span> Args &amp;... args)</div><div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>&#160;    : <a class="code" href="namespacestd.html">std</a>::runtime_error(<span class="stringliteral">&quot;&quot;</span>) {</div><div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160;    init(error_code, message, <a class="code" href="namespacefmt_1_1v5.html#abcbcbcd2dcf4a32bc0d70898605dd17c">make_format_args</a>(args...));</div><div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>&#160;  }</div><div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160;</div><div class="line"><a name="l02232"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1system__error.html#a663469e2ea1f8c0993909cf90c669270"> 2232</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfmt_1_1v5_1_1system__error.html#a663469e2ea1f8c0993909cf90c669270">error_code</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> error_code_; }</div><div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160;};</div><div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160;</div><div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5.html#a7f211f565c9879fafad806b788dde60d">format_system_error</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::buffer</a> &amp;out, <span class="keywordtype">int</span> <a class="code" href="classfmt_1_1v5_1_1error__code.html">error_code</a>,</div><div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>&#160;                                 <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">fmt::string_view</a> message) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div><div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>&#160;</div><div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer</a> {</div><div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02261"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#ad0ee54da443751f74466a16b033ab9f6"> 2261</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> Range::value_type <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#ad0ee54da443751f74466a16b033ab9f6">char_type</a>;</div><div class="line"><a name="l02262"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a22d41003c543a4de0c8052ee8f50bd92"> 2262</a></span>&#160;  <span class="keyword">typedef</span> decltype(internal::declval&lt;Range&gt;().<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>()) iterator;</div><div class="line"><a name="l02263"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a3f7028a8ecb2404fe0ab2e53f1ac482b"> 2263</a></span>&#160;  typedef <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs</a>&lt;char_type&gt; format_specs;</div><div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>&#160;</div><div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160; private:</div><div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>&#160;  iterator out_;  <span class="comment">// Output iterator.</span></div><div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160;  internal::locale_ref locale_;</div><div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>&#160;</div><div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>&#160;  <span class="comment">// Attempts to reserve space for n extra characters in the output range.</span></div><div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>&#160;  <span class="comment">// Returns a pointer to the reserved range or a reference to out_.</span></div><div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>&#160;  auto <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(<a class="code" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n) -&gt; decltype(internal::<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(out_, n)) {</div><div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">internal::reserve</a>(out_, n);</div><div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>&#160;  }</div><div class="line"><a name="l02274"></a><span class="lineno"> 2274</span>&#160;</div><div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>&#160;  <span class="comment">// Writes a value in the format</span></div><div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>&#160;  <span class="comment">//   &lt;left-padding&gt;&lt;value&gt;&lt;right-padding&gt;</span></div><div class="line"><a name="l02277"></a><span class="lineno"> 2277</span>&#160;  <span class="comment">// where &lt;value&gt; is written by f(it).</span></div><div class="line"><a name="l02278"></a><span class="lineno"> 2278</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> F&gt;</div><div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>&#160;  <span class="keywordtype">void</span> write_padded(<span class="keyword">const</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a> &amp;spec, F &amp;&amp;f) {</div><div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>&#160;    <span class="keywordtype">unsigned</span> width = spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#ab1a460c21832fbe87d5b3d9bf877d696">width</a>(); <span class="comment">// User-perceived width (in code points).</span></div><div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>&#160;    <span class="keywordtype">size_t</span> size = f.size(); <span class="comment">// The number of code units.</span></div><div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>&#160;    <span class="keywordtype">size_t</span> num_code_points = width != 0 ? f.width() : size;</div><div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>&#160;    <span class="keywordflow">if</span> (width &lt;= num_code_points)</div><div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>&#160;      <span class="keywordflow">return</span> f(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(size));</div><div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>&#160;    <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(width + (size - num_code_points));</div><div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;    char_type fill = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#ae4d5b07a56c8bf5085623444a9ab347e">fill</a>());</div><div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160;    std::size_t padding = width - num_code_points;</div><div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160;    <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>) {</div><div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>&#160;      it = std::fill_n(it, padding, fill);</div><div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>&#160;      f(it);</div><div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a6cf58d6a173204a962db3dae30a01d8c">ALIGN_CENTER</a>) {</div><div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>&#160;      std::size_t left_padding = padding / 2;</div><div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>&#160;      it = std::fill_n(it, left_padding, fill);</div><div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>&#160;      f(it);</div><div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>&#160;      it = std::fill_n(it, padding - left_padding, fill);</div><div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>&#160;      f(it);</div><div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>&#160;      it = std::fill_n(it, padding, fill);</div><div class="line"><a name="l02299"></a><span class="lineno"> 2299</span>&#160;    }</div><div class="line"><a name="l02300"></a><span class="lineno"> 2300</span>&#160;  }</div><div class="line"><a name="l02301"></a><span class="lineno"> 2301</span>&#160;</div><div class="line"><a name="l02302"></a><span class="lineno"> 2302</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> F&gt;</div><div class="line"><a name="l02303"></a><span class="lineno"> 2303</span>&#160;  <span class="keyword">struct </span>padded_int_writer {</div><div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>&#160;    <span class="keywordtype">size_t</span> size_;</div><div class="line"><a name="l02305"></a><span class="lineno"> 2305</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> prefix;</div><div class="line"><a name="l02306"></a><span class="lineno"> 2306</span>&#160;    char_type fill;</div><div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>&#160;    std::size_t padding;</div><div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>&#160;    F f;</div><div class="line"><a name="l02309"></a><span class="lineno"> 2309</span>&#160;</div><div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>&#160;    <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_; }</div><div class="line"><a name="l02311"></a><span class="lineno"> 2311</span>&#160;    <span class="keywordtype">size_t</span> width()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_; }</div><div class="line"><a name="l02312"></a><span class="lineno"> 2312</span>&#160;</div><div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02314"></a><span class="lineno"> 2314</span>&#160;    <span class="keywordtype">void</span> operator()(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02315"></a><span class="lineno"> 2315</span>&#160;      <span class="keywordflow">if</span> (prefix.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>() != 0)</div><div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>&#160;        it = internal::copy_str&lt;char_type&gt;(prefix.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a9d2ad6e48514367b0488f13e29d83960">begin</a>(), prefix.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1d441ad98566cd1366f4ca348efacf22">end</a>(), it);</div><div class="line"><a name="l02317"></a><span class="lineno"> 2317</span>&#160;      it = std::fill_n(it, padding, fill);</div><div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>&#160;      f(it);</div><div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>&#160;    }</div><div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>&#160;  };</div><div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>&#160;</div><div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>&#160;  <span class="comment">// Writes an integer in the format</span></div><div class="line"><a name="l02323"></a><span class="lineno"> 2323</span>&#160;  <span class="comment">//   &lt;left-padding&gt;&lt;prefix&gt;&lt;numeric-padding&gt;&lt;digits&gt;&lt;right-padding&gt;</span></div><div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>&#160;  <span class="comment">// where &lt;digits&gt; are written by f(it).</span></div><div class="line"><a name="l02325"></a><span class="lineno"> 2325</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Spec, <span class="keyword">typename</span> F&gt;</div><div class="line"><a name="l02326"></a><span class="lineno"> 2326</span>&#160;  <span class="keywordtype">void</span> write_int(<span class="keywordtype">int</span> num_digits, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> prefix,</div><div class="line"><a name="l02327"></a><span class="lineno"> 2327</span>&#160;                 <span class="keyword">const</span> Spec &amp;spec, F f) {</div><div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>&#160;    std::size_t size = prefix.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>() + <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(num_digits);</div><div class="line"><a name="l02329"></a><span class="lineno"> 2329</span>&#160;    char_type fill = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(spec.fill());</div><div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>&#160;    std::size_t padding = 0;</div><div class="line"><a name="l02331"></a><span class="lineno"> 2331</span>&#160;    <span class="keywordflow">if</span> (spec.align() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">ALIGN_NUMERIC</a>) {</div><div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>&#160;      <span class="keywordflow">if</span> (spec.width() &gt; size) {</div><div class="line"><a name="l02333"></a><span class="lineno"> 2333</span>&#160;        padding = spec.width() - size;</div><div class="line"><a name="l02334"></a><span class="lineno"> 2334</span>&#160;        size = spec.width();</div><div class="line"><a name="l02335"></a><span class="lineno"> 2335</span>&#160;      }</div><div class="line"><a name="l02336"></a><span class="lineno"> 2336</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (spec.precision &gt; num_digits) {</div><div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>&#160;      size = prefix.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>() + <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(spec.precision);</div><div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>&#160;      padding = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(spec.precision - num_digits);</div><div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>&#160;      fill = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(<span class="charliteral">&#39;0&#39;</span>);</div><div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>&#160;    }</div><div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a> as = spec;</div><div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160;    <span class="keywordflow">if</span> (spec.align() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>)</div><div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>&#160;      as.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">align_</a> = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>;</div><div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160;    write_padded(as, padded_int_writer&lt;F&gt;{size, prefix, fill, padding, f});</div><div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>&#160;  }</div><div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>&#160;</div><div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>&#160;  <span class="comment">// Writes a decimal integer.</span></div><div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Int&gt;</div><div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>&#160;  <span class="keywordtype">void</span> write_decimal(Int value) {</div><div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1int__traits.html">internal::int_traits&lt;Int&gt;::main_type</a> main_type;</div><div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>&#160;    main_type abs_value = <span class="keyword">static_cast&lt;</span>main_type<span class="keyword">&gt;</span>(value);</div><div class="line"><a name="l02352"></a><span class="lineno"> 2352</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">is_negative</a> = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">internal::is_negative</a>(value);</div><div class="line"><a name="l02353"></a><span class="lineno"> 2353</span>&#160;    <span class="keywordflow">if</span> (is_negative)</div><div class="line"><a name="l02354"></a><span class="lineno"> 2354</span>&#160;      abs_value = 0 - abs_value;</div><div class="line"><a name="l02355"></a><span class="lineno"> 2355</span>&#160;    <span class="keywordtype">int</span> num_digits = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">internal::count_digits</a>(abs_value);</div><div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>&#160;    <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>((is_negative ? 1 : 0) + static_cast&lt;size_t&gt;(num_digits));</div><div class="line"><a name="l02357"></a><span class="lineno"> 2357</span>&#160;    <span class="keywordflow">if</span> (is_negative)</div><div class="line"><a name="l02358"></a><span class="lineno"> 2358</span>&#160;      *it++ = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(<span class="charliteral">&#39;-&#39;</span>);</div><div class="line"><a name="l02359"></a><span class="lineno"> 2359</span>&#160;    it = internal::format_decimal&lt;char_type&gt;(it, abs_value, num_digits);</div><div class="line"><a name="l02360"></a><span class="lineno"> 2360</span>&#160;  }</div><div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>&#160;</div><div class="line"><a name="l02362"></a><span class="lineno"> 2362</span>&#160;  <span class="comment">// The handle_int_type_spec handler that writes an integer.</span></div><div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Int, <span class="keyword">typename</span> Spec&gt;</div><div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>&#160;  <span class="keyword">struct </span>int_writer {</div><div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1int__traits.html">internal::int_traits&lt;Int&gt;::main_type</a> unsigned_type;</div><div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>&#160;</div><div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer&lt;Range&gt;</a> &amp;<a class="code" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">writer</a>;</div><div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>&#160;    <span class="keyword">const</span> Spec &amp;spec;</div><div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>&#160;    unsigned_type abs_value;</div><div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>&#160;    <span class="keywordtype">char</span> prefix[4];</div><div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>&#160;    <span class="keywordtype">unsigned</span> prefix_size;</div><div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>&#160;</div><div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> get_prefix()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a3301ccbf6a0ab1b233242041a835a54a">string_view</a>(prefix, prefix_size); }</div><div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>&#160;</div><div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>&#160;    <span class="comment">// Counts the number of digits in abs_value. BITS = log2(radix).</span></div><div class="line"><a name="l02376"></a><span class="lineno"> 2376</span>&#160;    <span class="keyword">template</span> &lt;<span class="keywordtype">unsigned</span> BITS&gt;</div><div class="line"><a name="l02377"></a><span class="lineno"> 2377</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">count_digits</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l02378"></a><span class="lineno"> 2378</span>&#160;      unsigned_type n = abs_value;</div><div class="line"><a name="l02379"></a><span class="lineno"> 2379</span>&#160;      <span class="keywordtype">int</span> num_digits = 0;</div><div class="line"><a name="l02380"></a><span class="lineno"> 2380</span>&#160;      <span class="keywordflow">do</span> {</div><div class="line"><a name="l02381"></a><span class="lineno"> 2381</span>&#160;        ++num_digits;</div><div class="line"><a name="l02382"></a><span class="lineno"> 2382</span>&#160;      } <span class="keywordflow">while</span> ((n &gt;&gt;= BITS) != 0);</div><div class="line"><a name="l02383"></a><span class="lineno"> 2383</span>&#160;      <span class="keywordflow">return</span> num_digits;</div><div class="line"><a name="l02384"></a><span class="lineno"> 2384</span>&#160;    }</div><div class="line"><a name="l02385"></a><span class="lineno"> 2385</span>&#160;</div><div class="line"><a name="l02386"></a><span class="lineno"> 2386</span>&#160;    int_writer(<a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer&lt;Range&gt;</a> &amp;w, Int value, <span class="keyword">const</span> Spec &amp;s)</div><div class="line"><a name="l02387"></a><span class="lineno"> 2387</span>&#160;      : <a class="code" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">writer</a>(w), spec(s), abs_value(static_cast&lt;unsigned_type&gt;(value)),</div><div class="line"><a name="l02388"></a><span class="lineno"> 2388</span>&#160;        prefix_size(0) {</div><div class="line"><a name="l02389"></a><span class="lineno"> 2389</span>&#160;      <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">internal::is_negative</a>(value)) {</div><div class="line"><a name="l02390"></a><span class="lineno"> 2390</span>&#160;        prefix[0] = <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l02391"></a><span class="lineno"> 2391</span>&#160;        ++prefix_size;</div><div class="line"><a name="l02392"></a><span class="lineno"> 2392</span>&#160;        abs_value = 0 - abs_value;</div><div class="line"><a name="l02393"></a><span class="lineno"> 2393</span>&#160;      } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (spec.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a>)) {</div><div class="line"><a name="l02394"></a><span class="lineno"> 2394</span>&#160;        prefix[0] = spec.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">PLUS_FLAG</a>) ? <span class="charliteral">&#39;+&#39;</span> : <span class="charliteral">&#39; &#39;</span>;</div><div class="line"><a name="l02395"></a><span class="lineno"> 2395</span>&#160;        ++prefix_size;</div><div class="line"><a name="l02396"></a><span class="lineno"> 2396</span>&#160;      }</div><div class="line"><a name="l02397"></a><span class="lineno"> 2397</span>&#160;    }</div><div class="line"><a name="l02398"></a><span class="lineno"> 2398</span>&#160;</div><div class="line"><a name="l02399"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html"> 2399</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html">dec_writer</a> {</div><div class="line"><a name="l02400"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#ac9041c9b005e35c05a5296f3233954e3"> 2400</a></span>&#160;      unsigned_type <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#ac9041c9b005e35c05a5296f3233954e3">abs_value</a>;</div><div class="line"><a name="l02401"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a481aea3f8ddd9813b012e00d1e39348d"> 2401</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a481aea3f8ddd9813b012e00d1e39348d">num_digits</a>;</div><div class="line"><a name="l02402"></a><span class="lineno"> 2402</span>&#160;</div><div class="line"><a name="l02403"></a><span class="lineno"> 2403</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02404"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a5b63c108ffad740fe70afea4df45bf14"> 2404</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a5b63c108ffad740fe70afea4df45bf14">operator()</a>(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02405"></a><span class="lineno"> 2405</span>&#160;        it = internal::format_decimal&lt;char_type&gt;(it, abs_value, num_digits);</div><div class="line"><a name="l02406"></a><span class="lineno"> 2406</span>&#160;      }</div><div class="line"><a name="l02407"></a><span class="lineno"> 2407</span>&#160;    };</div><div class="line"><a name="l02408"></a><span class="lineno"> 2408</span>&#160;</div><div class="line"><a name="l02409"></a><span class="lineno"> 2409</span>&#160;    <span class="keywordtype">void</span> on_dec() {</div><div class="line"><a name="l02410"></a><span class="lineno"> 2410</span>&#160;      <span class="keywordtype">int</span> num_digits = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">internal::count_digits</a>(abs_value);</div><div class="line"><a name="l02411"></a><span class="lineno"> 2411</span>&#160;      writer.write_int(num_digits, get_prefix(), spec,</div><div class="line"><a name="l02412"></a><span class="lineno"> 2412</span>&#160;                       <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html">dec_writer</a>{abs_value, num_digits});</div><div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>&#160;    }</div><div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>&#160;</div><div class="line"><a name="l02415"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html"> 2415</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html">hex_writer</a> {</div><div class="line"><a name="l02416"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a5bf0a3bd718d02c9b794ccb4ebe68948"> 2416</a></span>&#160;      int_writer &amp;<span class="keyword">self</span>;</div><div class="line"><a name="l02417"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a00aa69723c38070f04aadeb0ad0c375d"> 2417</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a00aa69723c38070f04aadeb0ad0c375d">num_digits</a>;</div><div class="line"><a name="l02418"></a><span class="lineno"> 2418</span>&#160;</div><div class="line"><a name="l02419"></a><span class="lineno"> 2419</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02420"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a8edbb050b389a024b0ce9539a06c91bd"> 2420</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a8edbb050b389a024b0ce9539a06c91bd">operator()</a>(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02421"></a><span class="lineno"> 2421</span>&#160;        it = internal::format_uint&lt;4, char_type&gt;(</div><div class="line"><a name="l02422"></a><span class="lineno"> 2422</span>&#160;              it, <span class="keyword">self</span>.abs_value, num_digits, <span class="keyword">self</span>.spec.type != <span class="charliteral">&#39;x&#39;</span>);</div><div class="line"><a name="l02423"></a><span class="lineno"> 2423</span>&#160;      }</div><div class="line"><a name="l02424"></a><span class="lineno"> 2424</span>&#160;    };</div><div class="line"><a name="l02425"></a><span class="lineno"> 2425</span>&#160;</div><div class="line"><a name="l02426"></a><span class="lineno"> 2426</span>&#160;    <span class="keywordtype">void</span> on_hex() {</div><div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>&#160;      <span class="keywordflow">if</span> (spec.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>)) {</div><div class="line"><a name="l02428"></a><span class="lineno"> 2428</span>&#160;        prefix[prefix_size++] = <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>&#160;        prefix[prefix_size++] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(spec.type);</div><div class="line"><a name="l02430"></a><span class="lineno"> 2430</span>&#160;      }</div><div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>&#160;      <span class="keywordtype">int</span> num_digits = count_digits&lt;4&gt;();</div><div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>&#160;      writer.write_int(num_digits, get_prefix(), spec,</div><div class="line"><a name="l02433"></a><span class="lineno"> 2433</span>&#160;                       <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html">hex_writer</a>{*<span class="keyword">this</span>, num_digits});</div><div class="line"><a name="l02434"></a><span class="lineno"> 2434</span>&#160;    }</div><div class="line"><a name="l02435"></a><span class="lineno"> 2435</span>&#160;</div><div class="line"><a name="l02436"></a><span class="lineno"> 2436</span>&#160;    <span class="keyword">template</span> &lt;<span class="keywordtype">int</span> BITS&gt;</div><div class="line"><a name="l02437"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html"> 2437</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html">bin_writer</a> {</div><div class="line"><a name="l02438"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#aa24440fe129d052f4a8a628675d437c9"> 2438</a></span>&#160;      unsigned_type <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#aa24440fe129d052f4a8a628675d437c9">abs_value</a>;</div><div class="line"><a name="l02439"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#af957d7cd5b03d0094f3601d8421ae6f7"> 2439</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#af957d7cd5b03d0094f3601d8421ae6f7">num_digits</a>;</div><div class="line"><a name="l02440"></a><span class="lineno"> 2440</span>&#160;</div><div class="line"><a name="l02441"></a><span class="lineno"> 2441</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02442"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#a4785c7356c545c693ee353a08831931b"> 2442</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#a4785c7356c545c693ee353a08831931b">operator()</a>(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>&#160;        it = internal::format_uint&lt;BITS, char_type&gt;(it, abs_value, num_digits);</div><div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>&#160;      }</div><div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>&#160;    };</div><div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>&#160;</div><div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>&#160;    <span class="keywordtype">void</span> on_bin() {</div><div class="line"><a name="l02448"></a><span class="lineno"> 2448</span>&#160;      <span class="keywordflow">if</span> (spec.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>)) {</div><div class="line"><a name="l02449"></a><span class="lineno"> 2449</span>&#160;        prefix[prefix_size++] = <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l02450"></a><span class="lineno"> 2450</span>&#160;        prefix[prefix_size++] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(spec.type);</div><div class="line"><a name="l02451"></a><span class="lineno"> 2451</span>&#160;      }</div><div class="line"><a name="l02452"></a><span class="lineno"> 2452</span>&#160;      <span class="keywordtype">int</span> num_digits = count_digits&lt;1&gt;();</div><div class="line"><a name="l02453"></a><span class="lineno"> 2453</span>&#160;      writer.write_int(num_digits, get_prefix(), spec,</div><div class="line"><a name="l02454"></a><span class="lineno"> 2454</span>&#160;                       <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html">bin_writer&lt;1&gt;</a>{abs_value, num_digits});</div><div class="line"><a name="l02455"></a><span class="lineno"> 2455</span>&#160;    }</div><div class="line"><a name="l02456"></a><span class="lineno"> 2456</span>&#160;</div><div class="line"><a name="l02457"></a><span class="lineno"> 2457</span>&#160;    <span class="keywordtype">void</span> on_oct() {</div><div class="line"><a name="l02458"></a><span class="lineno"> 2458</span>&#160;      <span class="keywordtype">int</span> num_digits = count_digits&lt;3&gt;();</div><div class="line"><a name="l02459"></a><span class="lineno"> 2459</span>&#160;      <span class="keywordflow">if</span> (spec.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>) &amp;&amp;</div><div class="line"><a name="l02460"></a><span class="lineno"> 2460</span>&#160;          spec.precision &lt;= num_digits) {</div><div class="line"><a name="l02461"></a><span class="lineno"> 2461</span>&#160;        <span class="comment">// Octal prefix &#39;0&#39; is counted as a digit, so only add it if precision</span></div><div class="line"><a name="l02462"></a><span class="lineno"> 2462</span>&#160;        <span class="comment">// is not greater than the number of digits.</span></div><div class="line"><a name="l02463"></a><span class="lineno"> 2463</span>&#160;        prefix[prefix_size++] = <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>&#160;      }</div><div class="line"><a name="l02465"></a><span class="lineno"> 2465</span>&#160;      writer.write_int(num_digits, get_prefix(), spec,</div><div class="line"><a name="l02466"></a><span class="lineno"> 2466</span>&#160;                       <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html">bin_writer&lt;3&gt;</a>{abs_value, num_digits});</div><div class="line"><a name="l02467"></a><span class="lineno"> 2467</span>&#160;    }</div><div class="line"><a name="l02468"></a><span class="lineno"> 2468</span>&#160;</div><div class="line"><a name="l02469"></a><span class="lineno"> 2469</span>&#160;    <span class="keyword">enum</span> { SEP_SIZE = 1 };</div><div class="line"><a name="l02470"></a><span class="lineno"> 2470</span>&#160;</div><div class="line"><a name="l02471"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html"> 2471</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html">num_writer</a> {</div><div class="line"><a name="l02472"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a94c9f59f76f17baa5e58a9f1d2d825d8"> 2472</a></span>&#160;      unsigned_type <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a94c9f59f76f17baa5e58a9f1d2d825d8">abs_value</a>;</div><div class="line"><a name="l02473"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#acbde78e0af19b045db0789256d0e4391"> 2473</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#acbde78e0af19b045db0789256d0e4391">size</a>;</div><div class="line"><a name="l02474"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#adbb384826111ef8dcca2de5656fd8bfa"> 2474</a></span>&#160;      char_type <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#adbb384826111ef8dcca2de5656fd8bfa">sep</a>;</div><div class="line"><a name="l02475"></a><span class="lineno"> 2475</span>&#160;</div><div class="line"><a name="l02476"></a><span class="lineno"> 2476</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02477"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a25bc91ed02b0cf7e632c8718cdfa4b41"> 2477</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a25bc91ed02b0cf7e632c8718cdfa4b41">operator()</a>(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02478"></a><span class="lineno"> 2478</span>&#160;        <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char_type&gt;</a> s(&amp;sep, SEP_SIZE);</div><div class="line"><a name="l02479"></a><span class="lineno"> 2479</span>&#160;        it = internal::format_decimal&lt;char_type&gt;(</div><div class="line"><a name="l02480"></a><span class="lineno"> 2480</span>&#160;              it, abs_value, size, <a class="code" href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html">internal::add_thousands_sep&lt;char_type&gt;</a>(s));</div><div class="line"><a name="l02481"></a><span class="lineno"> 2481</span>&#160;      }</div><div class="line"><a name="l02482"></a><span class="lineno"> 2482</span>&#160;    };</div><div class="line"><a name="l02483"></a><span class="lineno"> 2483</span>&#160;</div><div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>&#160;    <span class="keywordtype">void</span> on_num() {</div><div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>&#160;      <span class="keywordtype">int</span> num_digits = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">internal::count_digits</a>(abs_value);</div><div class="line"><a name="l02486"></a><span class="lineno"> 2486</span>&#160;      char_type sep = internal::thousands_sep&lt;char_type&gt;(writer.locale_);</div><div class="line"><a name="l02487"></a><span class="lineno"> 2487</span>&#160;      <span class="keywordtype">int</span> size = num_digits + SEP_SIZE * ((num_digits - 1) / 3);</div><div class="line"><a name="l02488"></a><span class="lineno"> 2488</span>&#160;      writer.write_int(size, get_prefix(), spec,</div><div class="line"><a name="l02489"></a><span class="lineno"> 2489</span>&#160;                       <a class="code" href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html">num_writer</a>{abs_value, size, sep});</div><div class="line"><a name="l02490"></a><span class="lineno"> 2490</span>&#160;    }</div><div class="line"><a name="l02491"></a><span class="lineno"> 2491</span>&#160;</div><div class="line"><a name="l02492"></a><span class="lineno"> 2492</span>&#160;    <span class="keywordtype">void</span> on_error() {</div><div class="line"><a name="l02493"></a><span class="lineno"> 2493</span>&#160;      <a class="code" href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a>(<a class="code" href="classfmt_1_1v5_1_1format__error.html">format_error</a>(<span class="stringliteral">&quot;invalid type specifier&quot;</span>));</div><div class="line"><a name="l02494"></a><span class="lineno"> 2494</span>&#160;    }</div><div class="line"><a name="l02495"></a><span class="lineno"> 2495</span>&#160;  };</div><div class="line"><a name="l02496"></a><span class="lineno"> 2496</span>&#160;</div><div class="line"><a name="l02497"></a><span class="lineno"> 2497</span>&#160;  <span class="comment">// Writes a formatted integer.</span></div><div class="line"><a name="l02498"></a><span class="lineno"> 2498</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> Spec&gt;</div><div class="line"><a name="l02499"></a><span class="lineno"> 2499</span>&#160;  <span class="keywordtype">void</span> write_int(T value, <span class="keyword">const</span> Spec &amp;spec) {</div><div class="line"><a name="l02500"></a><span class="lineno"> 2500</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3">internal::handle_int_type_spec</a>(spec.type,</div><div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>&#160;                                   int_writer&lt;T, Spec&gt;(*<span class="keyword">this</span>, value, spec));</div><div class="line"><a name="l02502"></a><span class="lineno"> 2502</span>&#160;  }</div><div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>&#160;</div><div class="line"><a name="l02504"></a><span class="lineno"> 2504</span>&#160;  <span class="keyword">enum</span> {INF_SIZE = 3}; <span class="comment">// This is an enum to workaround a bug in MSVC.</span></div><div class="line"><a name="l02505"></a><span class="lineno"> 2505</span>&#160;</div><div class="line"><a name="l02506"></a><span class="lineno"> 2506</span>&#160;  <span class="keyword">struct </span>inf_or_nan_writer {</div><div class="line"><a name="l02507"></a><span class="lineno"> 2507</span>&#160;    <span class="keywordtype">char</span> sign;</div><div class="line"><a name="l02508"></a><span class="lineno"> 2508</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *str;</div><div class="line"><a name="l02509"></a><span class="lineno"> 2509</span>&#160;</div><div class="line"><a name="l02510"></a><span class="lineno"> 2510</span>&#160;    <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{</div><div class="line"><a name="l02511"></a><span class="lineno"> 2511</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>std::size_t<span class="keyword">&gt;</span>(INF_SIZE + (sign ? 1 : 0));</div><div class="line"><a name="l02512"></a><span class="lineno"> 2512</span>&#160;    }</div><div class="line"><a name="l02513"></a><span class="lineno"> 2513</span>&#160;    <span class="keywordtype">size_t</span> width()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size(); }</div><div class="line"><a name="l02514"></a><span class="lineno"> 2514</span>&#160;</div><div class="line"><a name="l02515"></a><span class="lineno"> 2515</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02516"></a><span class="lineno"> 2516</span>&#160;    <span class="keywordtype">void</span> operator()(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02517"></a><span class="lineno"> 2517</span>&#160;      <span class="keywordflow">if</span> (sign)</div><div class="line"><a name="l02518"></a><span class="lineno"> 2518</span>&#160;        *it++ = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(sign);</div><div class="line"><a name="l02519"></a><span class="lineno"> 2519</span>&#160;      it = internal::copy_str&lt;char_type&gt;(</div><div class="line"><a name="l02520"></a><span class="lineno"> 2520</span>&#160;            str, str + <span class="keyword">static_cast&lt;</span>std::size_t<span class="keyword">&gt;</span>(INF_SIZE), it);</div><div class="line"><a name="l02521"></a><span class="lineno"> 2521</span>&#160;    }</div><div class="line"><a name="l02522"></a><span class="lineno"> 2522</span>&#160;  };</div><div class="line"><a name="l02523"></a><span class="lineno"> 2523</span>&#160;</div><div class="line"><a name="l02524"></a><span class="lineno"> 2524</span>&#160;  <span class="keyword">struct </span>double_writer {</div><div class="line"><a name="l02525"></a><span class="lineno"> 2525</span>&#160;    <span class="keywordtype">size_t</span> n;</div><div class="line"><a name="l02526"></a><span class="lineno"> 2526</span>&#160;    <span class="keywordtype">char</span> sign;</div><div class="line"><a name="l02527"></a><span class="lineno"> 2527</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::buffer</a> &amp;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>;</div><div class="line"><a name="l02528"></a><span class="lineno"> 2528</span>&#160;</div><div class="line"><a name="l02529"></a><span class="lineno"> 2529</span>&#160;    <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> buffer.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>() + (sign ? 1 : 0); }</div><div class="line"><a name="l02530"></a><span class="lineno"> 2530</span>&#160;    <span class="keywordtype">size_t</span> width()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size(); }</div><div class="line"><a name="l02531"></a><span class="lineno"> 2531</span>&#160;</div><div class="line"><a name="l02532"></a><span class="lineno"> 2532</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02533"></a><span class="lineno"> 2533</span>&#160;    <span class="keywordtype">void</span> operator()(It &amp;&amp;it) {</div><div class="line"><a name="l02534"></a><span class="lineno"> 2534</span>&#160;      <span class="keywordflow">if</span> (sign) {</div><div class="line"><a name="l02535"></a><span class="lineno"> 2535</span>&#160;        *it++ = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(sign);</div><div class="line"><a name="l02536"></a><span class="lineno"> 2536</span>&#160;        --n;</div><div class="line"><a name="l02537"></a><span class="lineno"> 2537</span>&#160;      }</div><div class="line"><a name="l02538"></a><span class="lineno"> 2538</span>&#160;      it = internal::copy_str&lt;char_type&gt;(buffer.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a8d9a7509b995a14fda3e033789be636e">begin</a>(), buffer.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a0b26ffcf1270c07384a57ddaf3a38a35">end</a>(), it);</div><div class="line"><a name="l02539"></a><span class="lineno"> 2539</span>&#160;    }</div><div class="line"><a name="l02540"></a><span class="lineno"> 2540</span>&#160;  };</div><div class="line"><a name="l02541"></a><span class="lineno"> 2541</span>&#160;</div><div class="line"><a name="l02542"></a><span class="lineno"> 2542</span>&#160;  <span class="comment">// Formats a floating-point number (double or long double).</span></div><div class="line"><a name="l02543"></a><span class="lineno"> 2543</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l02544"></a><span class="lineno"> 2544</span>&#160;  <span class="keywordtype">void</span> write_double(T value, <span class="keyword">const</span> format_specs &amp;spec);</div><div class="line"><a name="l02545"></a><span class="lineno"> 2545</span>&#160;</div><div class="line"><a name="l02546"></a><span class="lineno"> 2546</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l02547"></a><span class="lineno"> 2547</span>&#160;  <span class="keyword">struct </span>str_writer {</div><div class="line"><a name="l02548"></a><span class="lineno"> 2548</span>&#160;    <span class="keyword">const</span> Char *s;</div><div class="line"><a name="l02549"></a><span class="lineno"> 2549</span>&#160;    <span class="keywordtype">size_t</span> size_;</div><div class="line"><a name="l02550"></a><span class="lineno"> 2550</span>&#160;</div><div class="line"><a name="l02551"></a><span class="lineno"> 2551</span>&#160;    <span class="keywordtype">size_t</span> size()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_; }</div><div class="line"><a name="l02552"></a><span class="lineno"> 2552</span>&#160;    <span class="keywordtype">size_t</span> width()<span class="keyword"> const </span>{</div><div class="line"><a name="l02553"></a><span class="lineno"> 2553</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aca60c11758ae1d5b422178e883252bba">internal::count_code_points</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a>(s, size_));</div><div class="line"><a name="l02554"></a><span class="lineno"> 2554</span>&#160;    }</div><div class="line"><a name="l02555"></a><span class="lineno"> 2555</span>&#160;</div><div class="line"><a name="l02556"></a><span class="lineno"> 2556</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l02557"></a><span class="lineno"> 2557</span>&#160;    <span class="keywordtype">void</span> operator()(It &amp;&amp;it)<span class="keyword"> const </span>{</div><div class="line"><a name="l02558"></a><span class="lineno"> 2558</span>&#160;      it = internal::copy_str&lt;char_type&gt;(s, s + size_, it);</div><div class="line"><a name="l02559"></a><span class="lineno"> 2559</span>&#160;    }</div><div class="line"><a name="l02560"></a><span class="lineno"> 2560</span>&#160;  };</div><div class="line"><a name="l02561"></a><span class="lineno"> 2561</span>&#160;</div><div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l02563"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a12c04f5659906e93c2418a4eb6358bd2"> 2563</a></span>&#160;  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">internal::arg_formatter_base</a>;</div><div class="line"><a name="l02564"></a><span class="lineno"> 2564</span>&#160;</div><div class="line"><a name="l02565"></a><span class="lineno"> 2565</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02567"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#aeb6a206671e6d416a4696343e940ea33"> 2567</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#aeb6a206671e6d416a4696343e940ea33">basic_writer</a>(</div><div class="line"><a name="l02568"></a><span class="lineno"> 2568</span>&#160;      Range out, <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">internal::locale_ref</a> loc = <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">internal::locale_ref</a>())</div><div class="line"><a name="l02569"></a><span class="lineno"> 2569</span>&#160;    : out_(out.<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>()), locale_(loc) {}</div><div class="line"><a name="l02570"></a><span class="lineno"> 2570</span>&#160;</div><div class="line"><a name="l02571"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a7518865de3941e306dac2a805675b475"> 2571</a></span>&#160;  iterator <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a7518865de3941e306dac2a805675b475">out</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> out_; }</div><div class="line"><a name="l02572"></a><span class="lineno"> 2572</span>&#160;</div><div class="line"><a name="l02573"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a531918e4cf5995d2c14785b3eb1f9699"> 2573</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a531918e4cf5995d2c14785b3eb1f9699">write</a>(<span class="keywordtype">int</span> value) { write_decimal(value); }</div><div class="line"><a name="l02574"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a6207aead371c0ab533bc6c012caa7fec"> 2574</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a6207aead371c0ab533bc6c012caa7fec">write</a>(<span class="keywordtype">long</span> value) { write_decimal(value); }</div><div class="line"><a name="l02575"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a2b226f9d7fca502facb0b9c0f6eb7919"> 2575</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a2b226f9d7fca502facb0b9c0f6eb7919">write</a>(<span class="keywordtype">long</span> <span class="keywordtype">long</span> value) { write_decimal(value); }</div><div class="line"><a name="l02576"></a><span class="lineno"> 2576</span>&#160;</div><div class="line"><a name="l02577"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#aa9a5f9e678e19930ede5a1dfad1ebe93"> 2577</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#aa9a5f9e678e19930ede5a1dfad1ebe93">write</a>(<span class="keywordtype">unsigned</span> value) { write_decimal(value); }</div><div class="line"><a name="l02578"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#affe641b73605f9fe7f05c63f375fa8ae"> 2578</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#affe641b73605f9fe7f05c63f375fa8ae">write</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> value) { write_decimal(value); }</div><div class="line"><a name="l02579"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a968d531596194200346fda2e3211e3c8"> 2579</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a968d531596194200346fda2e3211e3c8">write</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> value) { write_decimal(value); }</div><div class="line"><a name="l02580"></a><span class="lineno"> 2580</span>&#160;</div><div class="line"><a name="l02586"></a><span class="lineno"> 2586</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> FormatSpec, <span class="keyword">typename</span>... FormatSpecs&gt;</div><div class="line"><a name="l02587"></a><span class="lineno"> 2587</span>&#160;  <span class="keyword">typename</span> std::enable_if&lt;std::is_integral&lt;T&gt;::value, <span class="keywordtype">void</span>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l02588"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a87b5f008bb29a796ac4476c697ee0e25"> 2588</a></span>&#160;      <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a87b5f008bb29a796ac4476c697ee0e25">write</a>(T value, FormatSpec spec, FormatSpecs... specs) {</div><div class="line"><a name="l02589"></a><span class="lineno"> 2589</span>&#160;    format_specs s(spec, specs...);</div><div class="line"><a name="l02590"></a><span class="lineno"> 2590</span>&#160;    s.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">align_</a> = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>;</div><div class="line"><a name="l02591"></a><span class="lineno"> 2591</span>&#160;    write_int(value, s);</div><div class="line"><a name="l02592"></a><span class="lineno"> 2592</span>&#160;  }</div><div class="line"><a name="l02593"></a><span class="lineno"> 2593</span>&#160;</div><div class="line"><a name="l02594"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a2e73d42a69cbb1a1e3135f5b38c33771"> 2594</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a2e73d42a69cbb1a1e3135f5b38c33771">write</a>(<span class="keywordtype">double</span> value) {</div><div class="line"><a name="l02595"></a><span class="lineno"> 2595</span>&#160;    write_double(value, <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>());</div><div class="line"><a name="l02596"></a><span class="lineno"> 2596</span>&#160;  }</div><div class="line"><a name="l02597"></a><span class="lineno"> 2597</span>&#160;</div><div class="line"><a name="l02604"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a01693cb5eb4849919d29bd0889c9adf3"> 2604</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a01693cb5eb4849919d29bd0889c9adf3">write</a>(<span class="keywordtype">long</span> <span class="keywordtype">double</span> value) {</div><div class="line"><a name="l02605"></a><span class="lineno"> 2605</span>&#160;    write_double(value, <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>());</div><div class="line"><a name="l02606"></a><span class="lineno"> 2606</span>&#160;  }</div><div class="line"><a name="l02607"></a><span class="lineno"> 2607</span>&#160;</div><div class="line"><a name="l02609"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#af29d4c9940dfcbd4181291395855b665"> 2609</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#af29d4c9940dfcbd4181291395855b665">write</a>(<span class="keywordtype">char</span> value) {</div><div class="line"><a name="l02610"></a><span class="lineno"> 2610</span>&#160;    *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(1) = value;</div><div class="line"><a name="l02611"></a><span class="lineno"> 2611</span>&#160;  }</div><div class="line"><a name="l02612"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a46caff7956407a227b4b553312f695ed"> 2612</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a46caff7956407a227b4b553312f695ed">write</a>(<span class="keywordtype">wchar_t</span> value) {</div><div class="line"><a name="l02613"></a><span class="lineno"> 2613</span>&#160;    static_assert(std::is_same&lt;char_type, wchar_t&gt;::value, <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l02614"></a><span class="lineno"> 2614</span>&#160;    *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(1) = value;</div><div class="line"><a name="l02615"></a><span class="lineno"> 2615</span>&#160;  }</div><div class="line"><a name="l02616"></a><span class="lineno"> 2616</span>&#160;</div><div class="line"><a name="l02622"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#aad7bbd01a1c5e145908071abf1227283"> 2622</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#aad7bbd01a1c5e145908071abf1227283">write</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> value) {</div><div class="line"><a name="l02623"></a><span class="lineno"> 2623</span>&#160;    <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>());</div><div class="line"><a name="l02624"></a><span class="lineno"> 2624</span>&#160;    it = internal::copy_str&lt;char_type&gt;(value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a9d2ad6e48514367b0488f13e29d83960">begin</a>(), value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1d441ad98566cd1366f4ca348efacf22">end</a>(), it);</div><div class="line"><a name="l02625"></a><span class="lineno"> 2625</span>&#160;  }</div><div class="line"><a name="l02626"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#ad9b699ac00358e34697007c98a9fd063"> 2626</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#ad9b699ac00358e34697007c98a9fd063">write</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">wstring_view</a> value) {</div><div class="line"><a name="l02627"></a><span class="lineno"> 2627</span>&#160;    static_assert(std::is_same&lt;char_type, wchar_t&gt;::value, <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l02628"></a><span class="lineno"> 2628</span>&#160;    <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>());</div><div class="line"><a name="l02629"></a><span class="lineno"> 2629</span>&#160;    it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#afe980acdb2bb4cb83729a07c105159d1">std::copy</a>(value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a9d2ad6e48514367b0488f13e29d83960">begin</a>(), value.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1d441ad98566cd1366f4ca348efacf22">end</a>(), it);</div><div class="line"><a name="l02630"></a><span class="lineno"> 2630</span>&#160;  }</div><div class="line"><a name="l02631"></a><span class="lineno"> 2631</span>&#160;</div><div class="line"><a name="l02632"></a><span class="lineno"> 2632</span>&#160;  <span class="comment">// Writes a formatted string.</span></div><div class="line"><a name="l02633"></a><span class="lineno"> 2633</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l02634"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#a4e295df91ec1c12fd786d17e905442de"> 2634</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#a4e295df91ec1c12fd786d17e905442de">write</a>(<span class="keyword">const</span> Char *s, std::size_t size, <span class="keyword">const</span> <a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a> &amp;spec) {</div><div class="line"><a name="l02635"></a><span class="lineno"> 2635</span>&#160;    write_padded(spec, str_writer&lt;Char&gt;{s, size});</div><div class="line"><a name="l02636"></a><span class="lineno"> 2636</span>&#160;  }</div><div class="line"><a name="l02637"></a><span class="lineno"> 2637</span>&#160;</div><div class="line"><a name="l02638"></a><span class="lineno"> 2638</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l02639"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#ac77932fff8ec776f47d747a5393239b1"> 2639</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#ac77932fff8ec776f47d747a5393239b1">write</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> s,</div><div class="line"><a name="l02640"></a><span class="lineno"> 2640</span>&#160;             <span class="keyword">const</span> format_specs &amp;spec = <a class="code" href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">format_specs</a>()) {</div><div class="line"><a name="l02641"></a><span class="lineno"> 2641</span>&#160;    <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">data</a> = s.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">data</a>();</div><div class="line"><a name="l02642"></a><span class="lineno"> 2642</span>&#160;    std::size_t size = s.<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">size</a>();</div><div class="line"><a name="l02643"></a><span class="lineno"> 2643</span>&#160;    <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47">precision</a> &gt;= 0 &amp;&amp; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47">precision</a>) &lt; size)</div><div class="line"><a name="l02644"></a><span class="lineno"> 2644</span>&#160;      size = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47">precision</a>);</div><div class="line"><a name="l02645"></a><span class="lineno"> 2645</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(data, size, spec);</div><div class="line"><a name="l02646"></a><span class="lineno"> 2646</span>&#160;  }</div><div class="line"><a name="l02647"></a><span class="lineno"> 2647</span>&#160;</div><div class="line"><a name="l02648"></a><span class="lineno"> 2648</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l02649"></a><span class="lineno"> 2649</span>&#160;  <span class="keyword">typename</span> std::enable_if&lt;std::is_same&lt;T, void&gt;::value&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a></div><div class="line"><a name="l02650"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__writer.html#af308c665441c50a867bec1c17cd8b423"> 2650</a></span>&#160;      <a class="code" href="classfmt_1_1v5_1_1basic__writer.html#af308c665441c50a867bec1c17cd8b423">write</a>(<span class="keyword">const</span> T *p) {</div><div class="line"><a name="l02651"></a><span class="lineno"> 2651</span>&#160;    format_specs specs;</div><div class="line"><a name="l02652"></a><span class="lineno"> 2652</span>&#160;    specs.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c">flags</a> = <a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>;</div><div class="line"><a name="l02653"></a><span class="lineno"> 2653</span>&#160;    specs.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> = <span class="charliteral">&#39;x&#39;</span>;</div><div class="line"><a name="l02654"></a><span class="lineno"> 2654</span>&#160;    write_int(reinterpret_cast&lt;uintptr_t&gt;(p), specs);</div><div class="line"><a name="l02655"></a><span class="lineno"> 2655</span>&#160;  }</div><div class="line"><a name="l02656"></a><span class="lineno"> 2656</span>&#160;};</div><div class="line"><a name="l02657"></a><span class="lineno"> 2657</span>&#160;</div><div class="line"><a name="l02658"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html"> 2658</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html">float_spec_handler</a> {</div><div class="line"><a name="l02659"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a48e693571ddc346ae7fae88fe7902932"> 2659</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a48e693571ddc346ae7fae88fe7902932">type</a>;</div><div class="line"><a name="l02660"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a3017f14a9d0c5b1d84d2929e3aef1735"> 2660</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a3017f14a9d0c5b1d84d2929e3aef1735">upper</a>;</div><div class="line"><a name="l02661"></a><span class="lineno"> 2661</span>&#160;</div><div class="line"><a name="l02662"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a6cb6583cc6285ffa6fc492ff0862d4e3"> 2662</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a6cb6583cc6285ffa6fc492ff0862d4e3">float_spec_handler</a>(<span class="keywordtype">char</span> t) : type(t), upper(false) {}</div><div class="line"><a name="l02663"></a><span class="lineno"> 2663</span>&#160;</div><div class="line"><a name="l02664"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a9ca4fbeb01db2a21cd1ce54a1e7d179c"> 2664</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a9ca4fbeb01db2a21cd1ce54a1e7d179c">on_general</a>() {</div><div class="line"><a name="l02665"></a><span class="lineno"> 2665</span>&#160;    <span class="keywordflow">if</span> (type == <span class="charliteral">&#39;G&#39;</span>)</div><div class="line"><a name="l02666"></a><span class="lineno"> 2666</span>&#160;      upper = <span class="keyword">true</span>;</div><div class="line"><a name="l02667"></a><span class="lineno"> 2667</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l02668"></a><span class="lineno"> 2668</span>&#160;      type = <span class="charliteral">&#39;g&#39;</span>;</div><div class="line"><a name="l02669"></a><span class="lineno"> 2669</span>&#160;  }</div><div class="line"><a name="l02670"></a><span class="lineno"> 2670</span>&#160;</div><div class="line"><a name="l02671"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a08c5f4af9e7376bd3e21f6cc89b6b7a6"> 2671</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a08c5f4af9e7376bd3e21f6cc89b6b7a6">on_exp</a>() {</div><div class="line"><a name="l02672"></a><span class="lineno"> 2672</span>&#160;    <span class="keywordflow">if</span> (type == <span class="charliteral">&#39;E&#39;</span>)</div><div class="line"><a name="l02673"></a><span class="lineno"> 2673</span>&#160;      upper = <span class="keyword">true</span>;</div><div class="line"><a name="l02674"></a><span class="lineno"> 2674</span>&#160;  }</div><div class="line"><a name="l02675"></a><span class="lineno"> 2675</span>&#160;</div><div class="line"><a name="l02676"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#ace39bc5327e1dfafaff796b1e7cdd3df"> 2676</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#ace39bc5327e1dfafaff796b1e7cdd3df">on_fixed</a>() {</div><div class="line"><a name="l02677"></a><span class="lineno"> 2677</span>&#160;    <span class="keywordflow">if</span> (type == <span class="charliteral">&#39;F&#39;</span>) {</div><div class="line"><a name="l02678"></a><span class="lineno"> 2678</span>&#160;      upper = <span class="keyword">true</span>;</div><div class="line"><a name="l02679"></a><span class="lineno"> 2679</span>&#160;<span class="preprocessor">#if FMT_MSC_VER</span></div><div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>&#160;      <span class="comment">// MSVC&#39;s printf doesn&#39;t support &#39;F&#39;.</span></div><div class="line"><a name="l02681"></a><span class="lineno"> 2681</span>&#160;      type = <span class="charliteral">&#39;f&#39;</span>;</div><div class="line"><a name="l02682"></a><span class="lineno"> 2682</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02683"></a><span class="lineno"> 2683</span>&#160;    }</div><div class="line"><a name="l02684"></a><span class="lineno"> 2684</span>&#160;  }</div><div class="line"><a name="l02685"></a><span class="lineno"> 2685</span>&#160;</div><div class="line"><a name="l02686"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a47c600fba7735d313592f3cbf97c5fe8"> 2686</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a47c600fba7735d313592f3cbf97c5fe8">on_hex</a>() {</div><div class="line"><a name="l02687"></a><span class="lineno"> 2687</span>&#160;    <span class="keywordflow">if</span> (type == <span class="charliteral">&#39;A&#39;</span>)</div><div class="line"><a name="l02688"></a><span class="lineno"> 2688</span>&#160;      upper = <span class="keyword">true</span>;</div><div class="line"><a name="l02689"></a><span class="lineno"> 2689</span>&#160;  }</div><div class="line"><a name="l02690"></a><span class="lineno"> 2690</span>&#160;</div><div class="line"><a name="l02691"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1float__spec__handler.html#a44813c139c2754dcf56294433728ca44"> 2691</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a44813c139c2754dcf56294433728ca44">on_error</a>() {</div><div class="line"><a name="l02692"></a><span class="lineno"> 2692</span>&#160;    <a class="code" href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a>(<a class="code" href="classfmt_1_1v5_1_1format__error.html">format_error</a>(<span class="stringliteral">&quot;invalid type specifier&quot;</span>));</div><div class="line"><a name="l02693"></a><span class="lineno"> 2693</span>&#160;  }</div><div class="line"><a name="l02694"></a><span class="lineno"> 2694</span>&#160;};</div><div class="line"><a name="l02695"></a><span class="lineno"> 2695</span>&#160;</div><div class="line"><a name="l02696"></a><span class="lineno"> 2696</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l02697"></a><span class="lineno"> 2697</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l02698"></a><span class="lineno"> 2698</span>&#160;<span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer&lt;Range&gt;::write_double</a>(T value, <span class="keyword">const</span> format_specs &amp;spec) {</div><div class="line"><a name="l02699"></a><span class="lineno"> 2699</span>&#160;  <span class="comment">// Check type.</span></div><div class="line"><a name="l02700"></a><span class="lineno"> 2700</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html">float_spec_handler</a> handler(static_cast&lt;char&gt;(spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a>));</div><div class="line"><a name="l02701"></a><span class="lineno"> 2701</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aed78230de71427c867d6d49cdf397681">internal::handle_float_type_spec</a>(handler.<a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a48e693571ddc346ae7fae88fe7902932">type</a>, handler);</div><div class="line"><a name="l02702"></a><span class="lineno"> 2702</span>&#160;</div><div class="line"><a name="l02703"></a><span class="lineno"> 2703</span>&#160;  <span class="keywordtype">char</span> sign = 0;</div><div class="line"><a name="l02704"></a><span class="lineno"> 2704</span>&#160;  <span class="comment">// Use signbit instead of value &lt; 0 because the latter is always</span></div><div class="line"><a name="l02705"></a><span class="lineno"> 2705</span>&#160;  <span class="comment">// false for NaN.</span></div><div class="line"><a name="l02706"></a><span class="lineno"> 2706</span>&#160;  <span class="keywordflow">if</span> (std::signbit(value)) {</div><div class="line"><a name="l02707"></a><span class="lineno"> 2707</span>&#160;    sign = <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l02708"></a><span class="lineno"> 2708</span>&#160;    value = -value;</div><div class="line"><a name="l02709"></a><span class="lineno"> 2709</span>&#160;  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a6768437518e195164021594fd2ce0ff7">has</a>(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a>)) {</div><div class="line"><a name="l02710"></a><span class="lineno"> 2710</span>&#160;    sign = spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#a6768437518e195164021594fd2ce0ff7">has</a>(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">PLUS_FLAG</a>) ? <span class="charliteral">&#39;+&#39;</span> : <span class="charliteral">&#39; &#39;</span>;</div><div class="line"><a name="l02711"></a><span class="lineno"> 2711</span>&#160;  }</div><div class="line"><a name="l02712"></a><span class="lineno"> 2712</span>&#160;</div><div class="line"><a name="l02713"></a><span class="lineno"> 2713</span>&#160;  <span class="keyword">struct </span>write_inf_or_nan_t {</div><div class="line"><a name="l02714"></a><span class="lineno"> 2714</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__writer.html">basic_writer</a> &amp;<a class="code" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">writer</a>;</div><div class="line"><a name="l02715"></a><span class="lineno"> 2715</span>&#160;    format_specs spec;</div><div class="line"><a name="l02716"></a><span class="lineno"> 2716</span>&#160;    <span class="keywordtype">char</span> sign;</div><div class="line"><a name="l02717"></a><span class="lineno"> 2717</span>&#160;    <span class="keywordtype">void</span> operator()(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)<span class="keyword"> const </span>{</div><div class="line"><a name="l02718"></a><span class="lineno"> 2718</span>&#160;      writer.write_padded(spec, inf_or_nan_writer{sign, str});</div><div class="line"><a name="l02719"></a><span class="lineno"> 2719</span>&#160;    }</div><div class="line"><a name="l02720"></a><span class="lineno"> 2720</span>&#160;  } write_inf_or_nan = {*<span class="keyword">this</span>, spec, sign};</div><div class="line"><a name="l02721"></a><span class="lineno"> 2721</span>&#160;</div><div class="line"><a name="l02722"></a><span class="lineno"> 2722</span>&#160;  <span class="comment">// Format NaN and ininity ourselves because sprintf&#39;s output is not consistent</span></div><div class="line"><a name="l02723"></a><span class="lineno"> 2723</span>&#160;  <span class="comment">// across platforms.</span></div><div class="line"><a name="l02724"></a><span class="lineno"> 2724</span>&#160;  <span class="keywordflow">if</span> (internal::fputil::isnotanumber(value))</div><div class="line"><a name="l02725"></a><span class="lineno"> 2725</span>&#160;    <span class="keywordflow">return</span> write_inf_or_nan(handler.<a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a3017f14a9d0c5b1d84d2929e3aef1735">upper</a> ? <span class="stringliteral">&quot;NAN&quot;</span> : <span class="stringliteral">&quot;nan&quot;</span>);</div><div class="line"><a name="l02726"></a><span class="lineno"> 2726</span>&#160;  <span class="keywordflow">if</span> (internal::fputil::isinfinity(value))</div><div class="line"><a name="l02727"></a><span class="lineno"> 2727</span>&#160;    <span class="keywordflow">return</span> write_inf_or_nan(handler.<a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a3017f14a9d0c5b1d84d2929e3aef1735">upper</a> ? <span class="stringliteral">&quot;INF&quot;</span> : <span class="stringliteral">&quot;inf&quot;</span>);</div><div class="line"><a name="l02728"></a><span class="lineno"> 2728</span>&#160;</div><div class="line"><a name="l02729"></a><span class="lineno"> 2729</span>&#160;  memory_buffer <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>;</div><div class="line"><a name="l02730"></a><span class="lineno"> 2730</span>&#160;  <span class="keywordtype">bool</span> use_grisu = <a class="code" href="format_8h.html#a25c2cdf9765d15576333ed86298422c5">FMT_USE_GRISU</a> &amp;&amp; <span class="keyword">sizeof</span>(T) &lt;= <span class="keyword">sizeof</span>(<span class="keywordtype">double</span>) &amp;&amp;</div><div class="line"><a name="l02731"></a><span class="lineno"> 2731</span>&#160;      spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> != <span class="charliteral">&#39;a&#39;</span> &amp;&amp; spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> != <span class="charliteral">&#39;A&#39;</span> &amp;&amp;</div><div class="line"><a name="l02732"></a><span class="lineno"> 2732</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a48d02275b9e72a672b92ea3e7acfd656">internal::grisu2_format</a>(static_cast&lt;double&gt;(value), buffer, spec);</div><div class="line"><a name="l02733"></a><span class="lineno"> 2733</span>&#160;  <span class="keywordflow">if</span> (!use_grisu) {</div><div class="line"><a name="l02734"></a><span class="lineno"> 2734</span>&#160;    format_specs normalized_spec(spec);</div><div class="line"><a name="l02735"></a><span class="lineno"> 2735</span>&#160;    normalized_spec.<a class="code" href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">type</a> = handler.<a class="code" href="structfmt_1_1v5_1_1float__spec__handler.html#a48e693571ddc346ae7fae88fe7902932">type</a>;</div><div class="line"><a name="l02736"></a><span class="lineno"> 2736</span>&#160;    <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a37f320718a8fbb4cf326d075f6332e93">internal::sprintf_format</a>(value, buffer, normalized_spec);</div><div class="line"><a name="l02737"></a><span class="lineno"> 2737</span>&#160;  }</div><div class="line"><a name="l02738"></a><span class="lineno"> 2738</span>&#160;  <span class="keywordtype">size_t</span> n = buffer.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>();</div><div class="line"><a name="l02739"></a><span class="lineno"> 2739</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1align__spec.html">align_spec</a> as = spec;</div><div class="line"><a name="l02740"></a><span class="lineno"> 2740</span>&#160;  <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">ALIGN_NUMERIC</a>) {</div><div class="line"><a name="l02741"></a><span class="lineno"> 2741</span>&#160;    <span class="keywordflow">if</span> (sign) {</div><div class="line"><a name="l02742"></a><span class="lineno"> 2742</span>&#160;      <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">reserve</a>(1);</div><div class="line"><a name="l02743"></a><span class="lineno"> 2743</span>&#160;      *it++ = <span class="keyword">static_cast&lt;</span>char_type<span class="keyword">&gt;</span>(sign);</div><div class="line"><a name="l02744"></a><span class="lineno"> 2744</span>&#160;      sign = 0;</div><div class="line"><a name="l02745"></a><span class="lineno"> 2745</span>&#160;      <span class="keywordflow">if</span> (as.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a8223f56be615c31d47e588ac36690aee">width_</a>)</div><div class="line"><a name="l02746"></a><span class="lineno"> 2746</span>&#160;        --as.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a8223f56be615c31d47e588ac36690aee">width_</a>;</div><div class="line"><a name="l02747"></a><span class="lineno"> 2747</span>&#160;    }</div><div class="line"><a name="l02748"></a><span class="lineno"> 2748</span>&#160;    as.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">align_</a> = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>;</div><div class="line"><a name="l02749"></a><span class="lineno"> 2749</span>&#160;  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l02750"></a><span class="lineno"> 2750</span>&#160;    <span class="keywordflow">if</span> (spec.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">align</a>() == <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">ALIGN_DEFAULT</a>)</div><div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>&#160;      as.<a class="code" href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">align_</a> = <a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">ALIGN_RIGHT</a>;</div><div class="line"><a name="l02752"></a><span class="lineno"> 2752</span>&#160;    if (sign)</div><div class="line"><a name="l02753"></a><span class="lineno"> 2753</span>&#160;      ++n;</div><div class="line"><a name="l02754"></a><span class="lineno"> 2754</span>&#160;  }</div><div class="line"><a name="l02755"></a><span class="lineno"> 2755</span>&#160;  write_padded(as, double_writer{n, sign, buffer});</div><div class="line"><a name="l02756"></a><span class="lineno"> 2756</span>&#160;}</div><div class="line"><a name="l02757"></a><span class="lineno"> 2757</span>&#160;</div><div class="line"><a name="l02758"></a><span class="lineno"> 2758</span>&#160;<span class="comment">// Reports a system error without throwing an exception.</span></div><div class="line"><a name="l02759"></a><span class="lineno"> 2759</span>&#160;<span class="comment">// Can be used to report errors from destructors.</span></div><div class="line"><a name="l02760"></a><span class="lineno"> 2760</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5.html#aede03e1a36d834c65a48c9349a085fc8">report_system_error</a>(<span class="keywordtype">int</span> error_code,</div><div class="line"><a name="l02761"></a><span class="lineno"> 2761</span>&#160;                                 <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> message) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div><div class="line"><a name="l02762"></a><span class="lineno"> 2762</span>&#160;</div><div class="line"><a name="l02763"></a><span class="lineno"> 2763</span>&#160;<span class="preprocessor">#if FMT_USE_WINDOWS_H</span></div><div class="line"><a name="l02764"></a><span class="lineno"> 2764</span>&#160;</div><div class="line"><a name="l02766"></a><span class="lineno"> 2766</span>&#160;<span class="keyword">class </span>windows_error : <span class="keyword">public</span> <a class="code" href="classfmt_1_1v5_1_1system__error.html">system_error</a> {</div><div class="line"><a name="l02767"></a><span class="lineno"> 2767</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02768"></a><span class="lineno"> 2768</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> init(<span class="keywordtype">int</span> error_code, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> format_str, <a class="code" href="structfmt_1_1v5_1_1format__args.html">format_args</a> args);</div><div class="line"><a name="l02769"></a><span class="lineno"> 2769</span>&#160;</div><div class="line"><a name="l02770"></a><span class="lineno"> 2770</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02799"></a><span class="lineno"> 2799</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l02800"></a><span class="lineno"> 2800</span>&#160;  windows_error(<span class="keywordtype">int</span> error_code, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> message, <span class="keyword">const</span> Args &amp;... args) {</div><div class="line"><a name="l02801"></a><span class="lineno"> 2801</span>&#160;    init(error_code, message, <a class="code" href="namespacefmt_1_1v5.html#abcbcbcd2dcf4a32bc0d70898605dd17c">make_format_args</a>(args...));</div><div class="line"><a name="l02802"></a><span class="lineno"> 2802</span>&#160;  }</div><div class="line"><a name="l02803"></a><span class="lineno"> 2803</span>&#160;};</div><div class="line"><a name="l02804"></a><span class="lineno"> 2804</span>&#160;</div><div class="line"><a name="l02805"></a><span class="lineno"> 2805</span>&#160;<span class="comment">// Reports a Windows error without throwing an exception.</span></div><div class="line"><a name="l02806"></a><span class="lineno"> 2806</span>&#160;<span class="comment">// Can be used to report errors from destructors.</span></div><div class="line"><a name="l02807"></a><span class="lineno"> 2807</span>&#160;<a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> report_windows_error(<span class="keywordtype">int</span> error_code,</div><div class="line"><a name="l02808"></a><span class="lineno"> 2808</span>&#160;                                  <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> message) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div><div class="line"><a name="l02809"></a><span class="lineno"> 2809</span>&#160;</div><div class="line"><a name="l02810"></a><span class="lineno"> 2810</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02811"></a><span class="lineno"> 2811</span>&#160;</div><div class="line"><a name="l02813"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html"> 2813</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1format__int.html">format_int</a> {</div><div class="line"><a name="l02814"></a><span class="lineno"> 2814</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02815"></a><span class="lineno"> 2815</span>&#160;  <span class="comment">// Buffer should be large enough to hold all digits (digits10 + 1),</span></div><div class="line"><a name="l02816"></a><span class="lineno"> 2816</span>&#160;  <span class="comment">// a sign and a null character.</span></div><div class="line"><a name="l02817"></a><span class="lineno"> 2817</span>&#160;  <span class="keyword">enum</span> {BUFFER_SIZE = std::numeric_limits&lt;unsigned long long&gt;::digits10 + 3};</div><div class="line"><a name="l02818"></a><span class="lineno"> 2818</span>&#160;  <span class="keyword">mutable</span> <span class="keywordtype">char</span> buffer_[BUFFER_SIZE];</div><div class="line"><a name="l02819"></a><span class="lineno"> 2819</span>&#160;  <span class="keywordtype">char</span> *str_;</div><div class="line"><a name="l02820"></a><span class="lineno"> 2820</span>&#160;</div><div class="line"><a name="l02821"></a><span class="lineno"> 2821</span>&#160;  <span class="comment">// Formats value in reverse and returns a pointer to the beginning.</span></div><div class="line"><a name="l02822"></a><span class="lineno"> 2822</span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> value) {</div><div class="line"><a name="l02823"></a><span class="lineno"> 2823</span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03">ptr</a> = buffer_ + (BUFFER_SIZE - 1);  <span class="comment">// Parens to workaround MSVC bug.</span></div><div class="line"><a name="l02824"></a><span class="lineno"> 2824</span>&#160;    <span class="keywordflow">while</span> (value &gt;= 100) {</div><div class="line"><a name="l02825"></a><span class="lineno"> 2825</span>&#160;      <span class="comment">// Integer division is slow so do it for a group of two digits instead</span></div><div class="line"><a name="l02826"></a><span class="lineno"> 2826</span>&#160;      <span class="comment">// of for every digit. The idea comes from the talk by Alexandrescu</span></div><div class="line"><a name="l02827"></a><span class="lineno"> 2827</span>&#160;      <span class="comment">// &quot;Three Optimization Tips for C++&quot;. See speed-test for a comparison.</span></div><div class="line"><a name="l02828"></a><span class="lineno"> 2828</span>&#160;      <span class="keywordtype">unsigned</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span><span class="keyword">&gt;</span>((value % 100) * 2);</div><div class="line"><a name="l02829"></a><span class="lineno"> 2829</span>&#160;      value /= 100;</div><div class="line"><a name="l02830"></a><span class="lineno"> 2830</span>&#160;      *--ptr = internal::data::DIGITS[index + 1];</div><div class="line"><a name="l02831"></a><span class="lineno"> 2831</span>&#160;      *--ptr = internal::data::DIGITS[index];</div><div class="line"><a name="l02832"></a><span class="lineno"> 2832</span>&#160;    }</div><div class="line"><a name="l02833"></a><span class="lineno"> 2833</span>&#160;    <span class="keywordflow">if</span> (value &lt; 10) {</div><div class="line"><a name="l02834"></a><span class="lineno"> 2834</span>&#160;      *--ptr = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(<span class="charliteral">&#39;0&#39;</span> + value);</div><div class="line"><a name="l02835"></a><span class="lineno"> 2835</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03">ptr</a>;</div><div class="line"><a name="l02836"></a><span class="lineno"> 2836</span>&#160;    }</div><div class="line"><a name="l02837"></a><span class="lineno"> 2837</span>&#160;    <span class="keywordtype">unsigned</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span><span class="keyword">&gt;</span>(value * 2);</div><div class="line"><a name="l02838"></a><span class="lineno"> 2838</span>&#160;    *--ptr = internal::data::DIGITS[index + 1];</div><div class="line"><a name="l02839"></a><span class="lineno"> 2839</span>&#160;    *--ptr = internal::data::DIGITS[index];</div><div class="line"><a name="l02840"></a><span class="lineno"> 2840</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03">ptr</a>;</div><div class="line"><a name="l02841"></a><span class="lineno"> 2841</span>&#160;  }</div><div class="line"><a name="l02842"></a><span class="lineno"> 2842</span>&#160;</div><div class="line"><a name="l02843"></a><span class="lineno"> 2843</span>&#160;  <span class="keywordtype">void</span> format_signed(<span class="keywordtype">long</span> <span class="keywordtype">long</span> value) {</div><div class="line"><a name="l02844"></a><span class="lineno"> 2844</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> abs_value = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">&gt;</span>(value);</div><div class="line"><a name="l02845"></a><span class="lineno"> 2845</span>&#160;    <span class="keywordtype">bool</span> negative = value &lt; 0;</div><div class="line"><a name="l02846"></a><span class="lineno"> 2846</span>&#160;    <span class="keywordflow">if</span> (negative)</div><div class="line"><a name="l02847"></a><span class="lineno"> 2847</span>&#160;      abs_value = 0 - abs_value;</div><div class="line"><a name="l02848"></a><span class="lineno"> 2848</span>&#160;    str_ = <a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(abs_value);</div><div class="line"><a name="l02849"></a><span class="lineno"> 2849</span>&#160;    <span class="keywordflow">if</span> (negative)</div><div class="line"><a name="l02850"></a><span class="lineno"> 2850</span>&#160;      *--str_ = <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>&#160;  }</div><div class="line"><a name="l02852"></a><span class="lineno"> 2852</span>&#160;</div><div class="line"><a name="l02853"></a><span class="lineno"> 2853</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l02854"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#acd6e25e24489eab4c848ac23408bc688"> 2854</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#acd6e25e24489eab4c848ac23408bc688">format_int</a>(<span class="keywordtype">int</span> value) { format_signed(value); }</div><div class="line"><a name="l02855"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#af1efdbc1bbd43e22cf9690e50c5e1a08"> 2855</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#af1efdbc1bbd43e22cf9690e50c5e1a08">format_int</a>(<span class="keywordtype">long</span> value) { format_signed(value); }</div><div class="line"><a name="l02856"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#a4c07c24b79fc7d8510b29598e7cc7c51"> 2856</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#a4c07c24b79fc7d8510b29598e7cc7c51">format_int</a>(<span class="keywordtype">long</span> <span class="keywordtype">long</span> value) { format_signed(value); }</div><div class="line"><a name="l02857"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#a8b3e12db766aecc5de0a75285bbb2311"> 2857</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#a8b3e12db766aecc5de0a75285bbb2311">format_int</a>(<span class="keywordtype">unsigned</span> value) : str_(<a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(value)) {}</div><div class="line"><a name="l02858"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#a818044e240e597e65a6c33cb547e4397"> 2858</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#a818044e240e597e65a6c33cb547e4397">format_int</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> value) : str_(<a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(value)) {}</div><div class="line"><a name="l02859"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#aec2635e33daf103e747a4f86bc050485"> 2859</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1format__int.html#aec2635e33daf103e747a4f86bc050485">format_int</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> value) : str_(<a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(value)) {}</div><div class="line"><a name="l02860"></a><span class="lineno"> 2860</span>&#160;</div><div class="line"><a name="l02862"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#aacef4cb4349a6bbdcaf5d2892899a05e"> 2862</a></span>&#160;  std::size_t <a class="code" href="classfmt_1_1v5_1_1format__int.html#aacef4cb4349a6bbdcaf5d2892899a05e">size</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l02863"></a><span class="lineno"> 2863</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(buffer_ - str_ + BUFFER_SIZE - 1);</div><div class="line"><a name="l02864"></a><span class="lineno"> 2864</span>&#160;  }</div><div class="line"><a name="l02865"></a><span class="lineno"> 2865</span>&#160;</div><div class="line"><a name="l02870"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#a077b2a99428ae2dc673a4e172004d640"> 2870</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classfmt_1_1v5_1_1format__int.html#a077b2a99428ae2dc673a4e172004d640">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> str_; }</div><div class="line"><a name="l02871"></a><span class="lineno"> 2871</span>&#160;</div><div class="line"><a name="l02876"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#a9f01a25ee05b646d7e328037d5d626a8"> 2876</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classfmt_1_1v5_1_1format__int.html#a9f01a25ee05b646d7e328037d5d626a8">c_str</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l02877"></a><span class="lineno"> 2877</span>&#160;    buffer_[BUFFER_SIZE - 1] = <span class="charliteral">&#39;\0&#39;</span>;</div><div class="line"><a name="l02878"></a><span class="lineno"> 2878</span>&#160;    <span class="keywordflow">return</span> str_;</div><div class="line"><a name="l02879"></a><span class="lineno"> 2879</span>&#160;  }</div><div class="line"><a name="l02880"></a><span class="lineno"> 2880</span>&#160;</div><div class="line"><a name="l02886"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1format__int.html#ab998b2c508dd2476a2c8d086689afceb"> 2886</a></span>&#160;  std::string <a class="code" href="classfmt_1_1v5_1_1format__int.html#ab998b2c508dd2476a2c8d086689afceb">str</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> std::string(str_, size()); }</div><div class="line"><a name="l02887"></a><span class="lineno"> 2887</span>&#160;};</div><div class="line"><a name="l02888"></a><span class="lineno"> 2888</span>&#160;</div><div class="line"><a name="l02889"></a><span class="lineno"> 2889</span>&#160;<span class="comment">// DEPRECATED!</span></div><div class="line"><a name="l02890"></a><span class="lineno"> 2890</span>&#160;<span class="comment">// Formats a decimal integer value writing into buffer and returns</span></div><div class="line"><a name="l02891"></a><span class="lineno"> 2891</span>&#160;<span class="comment">// a pointer to the end of the formatted string. This function doesn&#39;t</span></div><div class="line"><a name="l02892"></a><span class="lineno"> 2892</span>&#160;<span class="comment">// write a terminating null character.</span></div><div class="line"><a name="l02893"></a><span class="lineno"> 2893</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l02894"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158"> 2894</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">format_decimal</a>(<span class="keywordtype">char</span> *&amp;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, T value) {</div><div class="line"><a name="l02895"></a><span class="lineno"> 2895</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1int__traits.html">internal::int_traits&lt;T&gt;::main_type</a> main_type;</div><div class="line"><a name="l02896"></a><span class="lineno"> 2896</span>&#160;  main_type abs_value = <span class="keyword">static_cast&lt;</span>main_type<span class="keyword">&gt;</span>(value);</div><div class="line"><a name="l02897"></a><span class="lineno"> 2897</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">internal::is_negative</a>(value)) {</div><div class="line"><a name="l02898"></a><span class="lineno"> 2898</span>&#160;    *buffer++ = <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l02899"></a><span class="lineno"> 2899</span>&#160;    abs_value = 0 - abs_value;</div><div class="line"><a name="l02900"></a><span class="lineno"> 2900</span>&#160;  }</div><div class="line"><a name="l02901"></a><span class="lineno"> 2901</span>&#160;  <span class="keywordflow">if</span> (abs_value &lt; 100) {</div><div class="line"><a name="l02902"></a><span class="lineno"> 2902</span>&#160;    <span class="keywordflow">if</span> (abs_value &lt; 10) {</div><div class="line"><a name="l02903"></a><span class="lineno"> 2903</span>&#160;      *buffer++ = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(<span class="charliteral">&#39;0&#39;</span> + abs_value);</div><div class="line"><a name="l02904"></a><span class="lineno"> 2904</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l02905"></a><span class="lineno"> 2905</span>&#160;    }</div><div class="line"><a name="l02906"></a><span class="lineno"> 2906</span>&#160;    <span class="keywordtype">unsigned</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span><span class="keyword">&gt;</span>(abs_value * 2);</div><div class="line"><a name="l02907"></a><span class="lineno"> 2907</span>&#160;    *buffer++ = internal::data::DIGITS[index];</div><div class="line"><a name="l02908"></a><span class="lineno"> 2908</span>&#160;    *buffer++ = internal::data::DIGITS[index + 1];</div><div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>&#160;    <span class="keywordflow">return</span>;</div><div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>&#160;  }</div><div class="line"><a name="l02911"></a><span class="lineno"> 2911</span>&#160;  <span class="keywordtype">int</span> num_digits = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">internal::count_digits</a>(abs_value);</div><div class="line"><a name="l02912"></a><span class="lineno"> 2912</span>&#160;  internal::format_decimal&lt;char&gt;(</div><div class="line"><a name="l02913"></a><span class="lineno"> 2913</span>&#160;        <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">internal::make_checked</a>(buffer, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(num_digits)), abs_value, num_digits);</div><div class="line"><a name="l02914"></a><span class="lineno"> 2914</span>&#160;  buffer += num_digits;</div><div class="line"><a name="l02915"></a><span class="lineno"> 2915</span>&#160;}</div><div class="line"><a name="l02916"></a><span class="lineno"> 2916</span>&#160;</div><div class="line"><a name="l02917"></a><span class="lineno"> 2917</span>&#160;<span class="comment">// Formatter of objects of type T.</span></div><div class="line"><a name="l02918"></a><span class="lineno"> 2918</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l02919"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html"> 2919</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1formatter.html">formatter</a>&lt;</div><div class="line"><a name="l02920"></a><span class="lineno"> 2920</span>&#160;    T, Char,</div><div class="line"><a name="l02921"></a><span class="lineno"> 2921</span>&#160;    typename <a class="code" href="namespacestd.html">std</a>::enable_if&lt;internal::format_type&lt;</div><div class="line"><a name="l02922"></a><span class="lineno"> 2922</span>&#160;        typename buffer_context&lt;Char&gt;::type, T&gt;::value&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a>&gt; {</div><div class="line"><a name="l02923"></a><span class="lineno"> 2923</span>&#160;</div><div class="line"><a name="l02924"></a><span class="lineno"> 2924</span>&#160;  <span class="comment">// Parses format specifiers stopping either at the end of the range or at the</span></div><div class="line"><a name="l02925"></a><span class="lineno"> 2925</span>&#160;  <span class="comment">// terminating &#39;}&#39;.</span></div><div class="line"><a name="l02926"></a><span class="lineno"> 2926</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ParseContext&gt;</div><div class="line"><a name="l02927"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a6a4b8134330ce67c7c9e8e7db077b334"> 2927</a></span>&#160;  <a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> <span class="keyword">typename</span> ParseContext::iterator <a class="code" href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a6a4b8134330ce67c7c9e8e7db077b334">parse</a>(ParseContext &amp;ctx) {</div><div class="line"><a name="l02928"></a><span class="lineno"> 2928</span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html">internal::dynamic_specs_handler&lt;ParseContext&gt;</a> handler_type;</div><div class="line"><a name="l02929"></a><span class="lineno"> 2929</span>&#160;    <span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a> = <a class="code" href="structfmt_1_1v5_1_1internal_1_1get__type.html">internal::get_type</a>&lt;</div><div class="line"><a name="l02930"></a><span class="lineno"> 2930</span>&#160;      <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">buffer_context&lt;Char&gt;::type</a>, T&gt;::value;</div><div class="line"><a name="l02931"></a><span class="lineno"> 2931</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">internal::specs_checker&lt;handler_type&gt;</a></div><div class="line"><a name="l02932"></a><span class="lineno"> 2932</span>&#160;        handler(handler_type(specs_, ctx), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>);</div><div class="line"><a name="l02933"></a><span class="lineno"> 2933</span>&#160;    <span class="keyword">auto</span> it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">parse_format_specs</a>(ctx.begin(), ctx.end(), handler);</div><div class="line"><a name="l02934"></a><span class="lineno"> 2934</span>&#160;    <span class="keyword">auto</span> type_spec = specs_.type;</div><div class="line"><a name="l02935"></a><span class="lineno"> 2935</span>&#160;    <span class="keyword">auto</span> eh = ctx.error_handler();</div><div class="line"><a name="l02936"></a><span class="lineno"> 2936</span>&#160;    <span class="keywordflow">switch</span> (<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>) {</div><div class="line"><a name="l02937"></a><span class="lineno"> 2937</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9">internal::none_type</a>:</div><div class="line"><a name="l02938"></a><span class="lineno"> 2938</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aa7a6f8b82db485f179833d300de9d139">internal::named_arg_type</a>:</div><div class="line"><a name="l02939"></a><span class="lineno"> 2939</span>&#160;      <a class="code" href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a>(<span class="keyword">false</span>, <span class="stringliteral">&quot;invalid argument type&quot;</span>);</div><div class="line"><a name="l02940"></a><span class="lineno"> 2940</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02941"></a><span class="lineno"> 2941</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aee2e9fd562a7d50e7e47e5f82188d4d5">internal::int_type</a>:</div><div class="line"><a name="l02942"></a><span class="lineno"> 2942</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a9c9273f21d9f37b64f17801628d44633">internal::uint_type</a>:</div><div class="line"><a name="l02943"></a><span class="lineno"> 2943</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13ae7a9e0deca92ad9278f3def34dafd2c8">internal::long_long_type</a>:</div><div class="line"><a name="l02944"></a><span class="lineno"> 2944</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a23b2dd85fe035d41a5e93822e346d277">internal::ulong_long_type</a>:</div><div class="line"><a name="l02945"></a><span class="lineno"> 2945</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aecccd88040ba51af7e74784567384260">internal::bool_type</a>:</div><div class="line"><a name="l02946"></a><span class="lineno"> 2946</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3">handle_int_type_spec</a>(</div><div class="line"><a name="l02947"></a><span class="lineno"> 2947</span>&#160;            type_spec, <a class="code" href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html">internal::int_type_checker</a>&lt;decltype(eh)&gt;(eh));</div><div class="line"><a name="l02948"></a><span class="lineno"> 2948</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02949"></a><span class="lineno"> 2949</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">internal::char_type</a>:</div><div class="line"><a name="l02950"></a><span class="lineno"> 2950</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ad26cf75c1e4ab48a7d4d2254a44001f0">handle_char_specs</a>(</div><div class="line"><a name="l02951"></a><span class="lineno"> 2951</span>&#160;          &amp;specs_,</div><div class="line"><a name="l02952"></a><span class="lineno"> 2952</span>&#160;          <a class="code" href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html">internal::char_specs_checker</a>&lt;decltype(eh)&gt;(type_spec, eh));</div><div class="line"><a name="l02953"></a><span class="lineno"> 2953</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02954"></a><span class="lineno"> 2954</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a9c4e587796c3f3ad1777bd960a717e39">internal::double_type</a>:</div><div class="line"><a name="l02955"></a><span class="lineno"> 2955</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13ae9e4c238a7992d284d52befd618886ef">internal::long_double_type</a>:</div><div class="line"><a name="l02956"></a><span class="lineno"> 2956</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aed78230de71427c867d6d49cdf397681">handle_float_type_spec</a>(</div><div class="line"><a name="l02957"></a><span class="lineno"> 2957</span>&#160;            type_spec, <a class="code" href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html">internal::float_type_checker</a>&lt;decltype(eh)&gt;(eh));</div><div class="line"><a name="l02958"></a><span class="lineno"> 2958</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02959"></a><span class="lineno"> 2959</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a73df9a3576f5a9596c4651fddef7dfac">internal::cstring_type</a>:</div><div class="line"><a name="l02960"></a><span class="lineno"> 2960</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a340304e36817771dec9551579579cb71">internal::handle_cstring_type_spec</a>(</div><div class="line"><a name="l02961"></a><span class="lineno"> 2961</span>&#160;            type_spec, <a class="code" href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html">internal::cstring_type_checker</a>&lt;decltype(eh)&gt;(eh));</div><div class="line"><a name="l02962"></a><span class="lineno"> 2962</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02963"></a><span class="lineno"> 2963</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a28edcc9fc66b5c65a8c9b89975164568">internal::string_type</a>:</div><div class="line"><a name="l02964"></a><span class="lineno"> 2964</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a83526f0a8d3c8e9cc85b24a7a00e8496">internal::check_string_type_spec</a>(type_spec, eh);</div><div class="line"><a name="l02965"></a><span class="lineno"> 2965</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02966"></a><span class="lineno"> 2966</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a355d7dd1bc164c3b845d96bb5ba1a5c0">internal::pointer_type</a>:</div><div class="line"><a name="l02967"></a><span class="lineno"> 2967</span>&#160;      <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ab9c093637a8328c1d798547a91ca1a5b">internal::check_pointer_type_spec</a>(type_spec, eh);</div><div class="line"><a name="l02968"></a><span class="lineno"> 2968</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02969"></a><span class="lineno"> 2969</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a2bf13ea13c39343d5656a3804f53508a">internal::custom_type</a>:</div><div class="line"><a name="l02970"></a><span class="lineno"> 2970</span>&#160;      <span class="comment">// Custom format specifiers should be checked in parse functions of</span></div><div class="line"><a name="l02971"></a><span class="lineno"> 2971</span>&#160;      <span class="comment">// formatter specializations.</span></div><div class="line"><a name="l02972"></a><span class="lineno"> 2972</span>&#160;      <span class="keywordflow">break</span>;</div><div class="line"><a name="l02973"></a><span class="lineno"> 2973</span>&#160;    }</div><div class="line"><a name="l02974"></a><span class="lineno"> 2974</span>&#160;    <span class="keywordflow">return</span> it;</div><div class="line"><a name="l02975"></a><span class="lineno"> 2975</span>&#160;  }</div><div class="line"><a name="l02976"></a><span class="lineno"> 2976</span>&#160;</div><div class="line"><a name="l02977"></a><span class="lineno"> 2977</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> FormatContext&gt;</div><div class="line"><a name="l02978"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a0decc0ceee49ae7780113a741baf8742"> 2978</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a0decc0ceee49ae7780113a741baf8742">format</a>(<span class="keyword">const</span> T &amp;val, FormatContext &amp;ctx) -&gt; decltype(ctx.out()) {</div><div class="line"><a name="l02979"></a><span class="lineno"> 2979</span>&#160;    internal::handle_dynamic_spec&lt;internal::width_checker&gt;(</div><div class="line"><a name="l02980"></a><span class="lineno"> 2980</span>&#160;      specs_.width_, specs_.width_ref, ctx);</div><div class="line"><a name="l02981"></a><span class="lineno"> 2981</span>&#160;    internal::handle_dynamic_spec&lt;internal::precision_checker&gt;(</div><div class="line"><a name="l02982"></a><span class="lineno"> 2982</span>&#160;      specs_.precision, specs_.precision_ref, ctx);</div><div class="line"><a name="l02983"></a><span class="lineno"> 2983</span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range</a>&lt;<span class="keyword">typename</span> FormatContext::iterator,</div><div class="line"><a name="l02984"></a><span class="lineno"> 2984</span>&#160;                         <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">FormatContext::char_type</a>&gt; range_type;</div><div class="line"><a name="l02985"></a><span class="lineno"> 2985</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(<a class="code" href="classfmt_1_1v5_1_1arg__formatter.html">arg_formatter&lt;range_type&gt;</a>(ctx, &amp;specs_),</div><div class="line"><a name="l02986"></a><span class="lineno"> 2986</span>&#160;                      internal::make_arg&lt;FormatContext&gt;(val));</div><div class="line"><a name="l02987"></a><span class="lineno"> 2987</span>&#160;  }</div><div class="line"><a name="l02988"></a><span class="lineno"> 2988</span>&#160;</div><div class="line"><a name="l02989"></a><span class="lineno"> 2989</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l02990"></a><span class="lineno"> 2990</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">internal::dynamic_format_specs&lt;Char&gt;</a> specs_;</div><div class="line"><a name="l02991"></a><span class="lineno"> 2991</span>&#160;};</div><div class="line"><a name="l02992"></a><span class="lineno"> 2992</span>&#160;</div><div class="line"><a name="l02993"></a><span class="lineno"> 2993</span>&#160;<span class="comment">// A formatter for types known only at run time such as variant alternatives.</span></div><div class="line"><a name="l02994"></a><span class="lineno"> 2994</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l02995"></a><span class="lineno"> 2995</span>&#160;<span class="comment">// Usage:</span></div><div class="line"><a name="l02996"></a><span class="lineno"> 2996</span>&#160;<span class="comment">//   typedef std::variant&lt;int, std::string&gt; variant;</span></div><div class="line"><a name="l02997"></a><span class="lineno"> 2997</span>&#160;<span class="comment">//   template &lt;&gt;</span></div><div class="line"><a name="l02998"></a><span class="lineno"> 2998</span>&#160;<span class="comment">//   struct formatter&lt;variant&gt;: dynamic_formatter&lt;&gt; {</span></div><div class="line"><a name="l02999"></a><span class="lineno"> 2999</span>&#160;<span class="comment">//     void format(buffer &amp;buf, const variant &amp;v, context &amp;ctx) {</span></div><div class="line"><a name="l03000"></a><span class="lineno"> 3000</span>&#160;<span class="comment">//       visit([&amp;](const auto &amp;val) { format(buf, val, ctx); }, v);</span></div><div class="line"><a name="l03001"></a><span class="lineno"> 3001</span>&#160;<span class="comment">//     }</span></div><div class="line"><a name="l03002"></a><span class="lineno"> 3002</span>&#160;<span class="comment">//   };</span></div><div class="line"><a name="l03003"></a><span class="lineno"> 3003</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char = <span class="keywordtype">char</span>&gt;</div><div class="line"><a name="l03004"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1dynamic__formatter.html"> 3004</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1dynamic__formatter.html">dynamic_formatter</a> {</div><div class="line"><a name="l03005"></a><span class="lineno"> 3005</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l03006"></a><span class="lineno"> 3006</span>&#160;  <span class="keyword">struct </span>null_handler: <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a> {</div><div class="line"><a name="l03007"></a><span class="lineno"> 3007</span>&#160;    <span class="keywordtype">void</span> on_align(<a class="code" href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">alignment</a>) {}</div><div class="line"><a name="l03008"></a><span class="lineno"> 3008</span>&#160;    <span class="keywordtype">void</span> on_plus() {}</div><div class="line"><a name="l03009"></a><span class="lineno"> 3009</span>&#160;    <span class="keywordtype">void</span> on_minus() {}</div><div class="line"><a name="l03010"></a><span class="lineno"> 3010</span>&#160;    <span class="keywordtype">void</span> on_space() {}</div><div class="line"><a name="l03011"></a><span class="lineno"> 3011</span>&#160;    <span class="keywordtype">void</span> on_hash() {}</div><div class="line"><a name="l03012"></a><span class="lineno"> 3012</span>&#160;  };</div><div class="line"><a name="l03013"></a><span class="lineno"> 3013</span>&#160;</div><div class="line"><a name="l03014"></a><span class="lineno"> 3014</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l03015"></a><span class="lineno"> 3015</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ParseContext&gt;</div><div class="line"><a name="l03016"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1dynamic__formatter.html#a541d33c040cb6d2ff781157fad6d09b1"> 3016</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classfmt_1_1v5_1_1dynamic__formatter.html#a541d33c040cb6d2ff781157fad6d09b1">parse</a>(ParseContext &amp;ctx) -&gt; decltype(ctx.begin()) {</div><div class="line"><a name="l03017"></a><span class="lineno"> 3017</span>&#160;    <span class="comment">// Checks are deferred to formatting time when the argument type is known.</span></div><div class="line"><a name="l03018"></a><span class="lineno"> 3018</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html">internal::dynamic_specs_handler&lt;ParseContext&gt;</a> handler(specs_, ctx);</div><div class="line"><a name="l03019"></a><span class="lineno"> 3019</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">parse_format_specs</a>(ctx.begin(), ctx.end(), handler);</div><div class="line"><a name="l03020"></a><span class="lineno"> 3020</span>&#160;  }</div><div class="line"><a name="l03021"></a><span class="lineno"> 3021</span>&#160;</div><div class="line"><a name="l03022"></a><span class="lineno"> 3022</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> FormatContext&gt;</div><div class="line"><a name="l03023"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1dynamic__formatter.html#a67cf8828c8811150790a11eb04e138e4"> 3023</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classfmt_1_1v5_1_1dynamic__formatter.html#a67cf8828c8811150790a11eb04e138e4">format</a>(<span class="keyword">const</span> T &amp;val, FormatContext &amp;ctx) -&gt; decltype(ctx.out()) {</div><div class="line"><a name="l03024"></a><span class="lineno"> 3024</span>&#160;    handle_specs(ctx);</div><div class="line"><a name="l03025"></a><span class="lineno"> 3025</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">internal::specs_checker&lt;null_handler&gt;</a></div><div class="line"><a name="l03026"></a><span class="lineno"> 3026</span>&#160;        checker(null_handler(), <a class="code" href="structfmt_1_1v5_1_1internal_1_1get__type.html">internal::get_type&lt;FormatContext, T&gt;::value</a>);</div><div class="line"><a name="l03027"></a><span class="lineno"> 3027</span>&#160;    checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#abce5f587ed4b5a7461b1c2812e7650a7">on_align</a>(specs_.align());</div><div class="line"><a name="l03028"></a><span class="lineno"> 3028</span>&#160;    <span class="keywordflow">if</span> (specs_.flags == 0);  <span class="comment">// Do nothing.</span></div><div class="line"><a name="l03029"></a><span class="lineno"> 3029</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (specs_.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">SIGN_FLAG</a>))</div><div class="line"><a name="l03030"></a><span class="lineno"> 3030</span>&#160;      specs_.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">PLUS_FLAG</a>) ? checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aa8f05ebfb4d08764760e94b3ed9d89c3">on_plus</a>() : checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#af0240aa8eb685e3e6b5350e18fae20b2">on_space</a>();</div><div class="line"><a name="l03031"></a><span class="lineno"> 3031</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (specs_.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaaaf7cf0b0f8341fafc6ab56b5c5c77f03">MINUS_FLAG</a>))</div><div class="line"><a name="l03032"></a><span class="lineno"> 3032</span>&#160;      checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a8e9c7bb30c9a44f86aaabd956358452b">on_minus</a>();</div><div class="line"><a name="l03033"></a><span class="lineno"> 3033</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (specs_.has(<a class="code" href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">HASH_FLAG</a>))</div><div class="line"><a name="l03034"></a><span class="lineno"> 3034</span>&#160;      checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a13f99fab9887df8c7e6502787a278bfb">on_hash</a>();</div><div class="line"><a name="l03035"></a><span class="lineno"> 3035</span>&#160;    <span class="keywordflow">if</span> (specs_.precision != -1)</div><div class="line"><a name="l03036"></a><span class="lineno"> 3036</span>&#160;      checker.<a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#adc19ccf22ffc0997293bdf759711b6e7">end_precision</a>();</div><div class="line"><a name="l03037"></a><span class="lineno"> 3037</span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range</a>&lt;<span class="keyword">typename</span> FormatContext::iterator,</div><div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>&#160;                         <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">FormatContext::char_type</a>&gt; range;</div><div class="line"><a name="l03039"></a><span class="lineno"> 3039</span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(<a class="code" href="classfmt_1_1v5_1_1arg__formatter.html">arg_formatter&lt;range&gt;</a>(ctx, &amp;specs_),</div><div class="line"><a name="l03040"></a><span class="lineno"> 3040</span>&#160;               internal::make_arg&lt;FormatContext&gt;(val));</div><div class="line"><a name="l03041"></a><span class="lineno"> 3041</span>&#160;    <span class="keywordflow">return</span> ctx.out();</div><div class="line"><a name="l03042"></a><span class="lineno"> 3042</span>&#160;  }</div><div class="line"><a name="l03043"></a><span class="lineno"> 3043</span>&#160;</div><div class="line"><a name="l03044"></a><span class="lineno"> 3044</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l03045"></a><span class="lineno"> 3045</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l03046"></a><span class="lineno"> 3046</span>&#160;  <span class="keywordtype">void</span> handle_specs(Context &amp;ctx) {</div><div class="line"><a name="l03047"></a><span class="lineno"> 3047</span>&#160;    internal::handle_dynamic_spec&lt;internal::width_checker&gt;(</div><div class="line"><a name="l03048"></a><span class="lineno"> 3048</span>&#160;      specs_.width_, specs_.width_ref, ctx);</div><div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>&#160;    internal::handle_dynamic_spec&lt;internal::precision_checker&gt;(</div><div class="line"><a name="l03050"></a><span class="lineno"> 3050</span>&#160;      specs_.precision, specs_.precision_ref, ctx);</div><div class="line"><a name="l03051"></a><span class="lineno"> 3051</span>&#160;  }</div><div class="line"><a name="l03052"></a><span class="lineno"> 3052</span>&#160;</div><div class="line"><a name="l03053"></a><span class="lineno"> 3053</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">internal::dynamic_format_specs&lt;Char&gt;</a> specs_;</div><div class="line"><a name="l03054"></a><span class="lineno"> 3054</span>&#160;};</div><div class="line"><a name="l03055"></a><span class="lineno"> 3055</span>&#160;</div><div class="line"><a name="l03056"></a><span class="lineno"> 3056</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03057"></a><span class="lineno"> 3057</span>&#160;<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">basic_format_context&lt;Range, Char&gt;::format_arg</a></div><div class="line"><a name="l03058"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__format__context.html#a08841c7d750e03983bad8bd6361f0a4c"> 3058</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">basic_format_context&lt;Range, Char&gt;::get_arg</a>(</div><div class="line"><a name="l03059"></a><span class="lineno"> 3059</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;char_type&gt;</a> name) {</div><div class="line"><a name="l03060"></a><span class="lineno"> 3060</span>&#160;  map_.init(this-&gt;args());</div><div class="line"><a name="l03061"></a><span class="lineno"> 3061</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">format_arg</a> <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a> = map_.find(name);</div><div class="line"><a name="l03062"></a><span class="lineno"> 3062</span>&#160;  <span class="keywordflow">if</span> (arg.<a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html#afade51f5b95d78390fd09449a4a1ddf3">type</a>() == <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9">internal::none_type</a>)</div><div class="line"><a name="l03063"></a><span class="lineno"> 3063</span>&#160;    this-&gt;on_error(<span class="stringliteral">&quot;argument not found&quot;</span>);</div><div class="line"><a name="l03064"></a><span class="lineno"> 3064</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>;</div><div class="line"><a name="l03065"></a><span class="lineno"> 3065</span>&#160;}</div><div class="line"><a name="l03066"></a><span class="lineno"> 3066</span>&#160;</div><div class="line"><a name="l03067"></a><span class="lineno"> 3067</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ArgFormatter, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l03068"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html"> 3068</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__handler.html">format_handler</a> : <a class="code" href="structfmt_1_1v5_1_1internal_1_1error__handler.html">internal::error_handler</a> {</div><div class="line"><a name="l03069"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#a717e330f9b9cfa519cbf97e5e2a81add"> 3069</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> ArgFormatter::range <a class="code" href="structfmt_1_1v5_1_1format__handler.html#a717e330f9b9cfa519cbf97e5e2a81add">range</a>;</div><div class="line"><a name="l03070"></a><span class="lineno"> 3070</span>&#160;</div><div class="line"><a name="l03071"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#af0a6c006dcf81a1e1b3db4ff9d400e6d"> 3071</a></span>&#160;  <a class="code" href="structfmt_1_1v5_1_1format__handler.html#af0a6c006dcf81a1e1b3db4ff9d400e6d">format_handler</a>(range r, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> str,</div><div class="line"><a name="l03072"></a><span class="lineno"> 3072</span>&#160;                 <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args&lt;Context&gt;</a> <a class="code" href="structfmt_1_1v5_1_1format__args.html">format_args</a>,</div><div class="line"><a name="l03073"></a><span class="lineno"> 3073</span>&#160;                 <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">internal::locale_ref</a> loc)</div><div class="line"><a name="l03074"></a><span class="lineno"> 3074</span>&#160;    : context(r.<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>(), str, format_args, loc) {}</div><div class="line"><a name="l03075"></a><span class="lineno"> 3075</span>&#160;</div><div class="line"><a name="l03076"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#ac8c589250f37514c3fac3a123698ac01"> 3076</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#ac8c589250f37514c3fac3a123698ac01">on_text</a>(<span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>) {</div><div class="line"><a name="l03077"></a><span class="lineno"> 3077</span>&#160;    <span class="keyword">auto</span> size = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">internal::to_unsigned</a>(end - begin);</div><div class="line"><a name="l03078"></a><span class="lineno"> 3078</span>&#160;    <span class="keyword">auto</span> out = context.out();</div><div class="line"><a name="l03079"></a><span class="lineno"> 3079</span>&#160;    <span class="keyword">auto</span> &amp;&amp;it = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">internal::reserve</a>(out, size);</div><div class="line"><a name="l03080"></a><span class="lineno"> 3080</span>&#160;    it = std::copy_n(begin, size, it);</div><div class="line"><a name="l03081"></a><span class="lineno"> 3081</span>&#160;    context.advance_to(out);</div><div class="line"><a name="l03082"></a><span class="lineno"> 3082</span>&#160;  }</div><div class="line"><a name="l03083"></a><span class="lineno"> 3083</span>&#160;</div><div class="line"><a name="l03084"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#af45f0577c38773dae862118b947fd671"> 3084</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#af45f0577c38773dae862118b947fd671">on_arg_id</a>() { <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a> = context.next_arg(); }</div><div class="line"><a name="l03085"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#a988c9b12cdd78f32d51c231134317a9a"> 3085</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#a988c9b12cdd78f32d51c231134317a9a">on_arg_id</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l03086"></a><span class="lineno"> 3086</span>&#160;    context.parse_context().check_arg_id(<span class="keywordtype">id</span>);</div><div class="line"><a name="l03087"></a><span class="lineno"> 3087</span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a> = context.get_arg(<span class="keywordtype">id</span>);</div><div class="line"><a name="l03088"></a><span class="lineno"> 3088</span>&#160;  }</div><div class="line"><a name="l03089"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#a32a2f523495547bcd97610b62d01a610"> 3089</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#a32a2f523495547bcd97610b62d01a610">on_arg_id</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> <span class="keywordtype">id</span>) {</div><div class="line"><a name="l03090"></a><span class="lineno"> 3090</span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a> = context.get_arg(<span class="keywordtype">id</span>);</div><div class="line"><a name="l03091"></a><span class="lineno"> 3091</span>&#160;  }</div><div class="line"><a name="l03092"></a><span class="lineno"> 3092</span>&#160;</div><div class="line"><a name="l03093"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#ad2e95af5d37c6f9d3e996085c978cad2"> 3093</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#ad2e95af5d37c6f9d3e996085c978cad2">on_replacement_field</a>(<span class="keyword">const</span> Char *p) {</div><div class="line"><a name="l03094"></a><span class="lineno"> 3094</span>&#160;    context.parse_context().advance_to(p);</div><div class="line"><a name="l03095"></a><span class="lineno"> 3095</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html">internal::custom_formatter&lt;Char, Context&gt;</a> f(context);</div><div class="line"><a name="l03096"></a><span class="lineno"> 3096</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(f, <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>))</div><div class="line"><a name="l03097"></a><span class="lineno"> 3097</span>&#160;      context.advance_to(<a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(ArgFormatter(context), <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>));</div><div class="line"><a name="l03098"></a><span class="lineno"> 3098</span>&#160;  }</div><div class="line"><a name="l03099"></a><span class="lineno"> 3099</span>&#160;</div><div class="line"><a name="l03100"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#a10f0bb03d362ecb21a688778230e2925"> 3100</a></span>&#160;  <span class="keyword">const</span> Char *<a class="code" href="structfmt_1_1v5_1_1format__handler.html#a10f0bb03d362ecb21a688778230e2925">on_format_specs</a>(<span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <span class="keyword">const</span> Char *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>) {</div><div class="line"><a name="l03101"></a><span class="lineno"> 3101</span>&#160;    <span class="keyword">auto</span> &amp;parse_ctx = context.parse_context();</div><div class="line"><a name="l03102"></a><span class="lineno"> 3102</span>&#160;    parse_ctx.advance_to(begin);</div><div class="line"><a name="l03103"></a><span class="lineno"> 3103</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html">internal::custom_formatter&lt;Char, Context&gt;</a> f(context);</div><div class="line"><a name="l03104"></a><span class="lineno"> 3104</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(f, <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>))</div><div class="line"><a name="l03105"></a><span class="lineno"> 3105</span>&#160;      <span class="keywordflow">return</span> parse_ctx.begin();</div><div class="line"><a name="l03106"></a><span class="lineno"> 3106</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1basic__format__specs.html">basic_format_specs&lt;Char&gt;</a> specs;</div><div class="line"><a name="l03107"></a><span class="lineno"> 3107</span>&#160;    <span class="keyword">using</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__handler.html">internal::specs_handler</a>;</div><div class="line"><a name="l03108"></a><span class="lineno"> 3108</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">internal::specs_checker&lt;specs_handler&lt;Context&gt;</a>&gt;</div><div class="line"><a name="l03109"></a><span class="lineno"> 3109</span>&#160;        handler(specs_handler&lt;Context&gt;(specs, context), <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>.type());</div><div class="line"><a name="l03110"></a><span class="lineno"> 3110</span>&#160;    begin = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">parse_format_specs</a>(begin, end, handler);</div><div class="line"><a name="l03111"></a><span class="lineno"> 3111</span>&#160;    <span class="keywordflow">if</span> (begin == end || *begin != <span class="charliteral">&#39;}&#39;</span>)</div><div class="line"><a name="l03112"></a><span class="lineno"> 3112</span>&#160;      on_error(<span class="stringliteral">&quot;missing &#39;}&#39; in format string&quot;</span>);</div><div class="line"><a name="l03113"></a><span class="lineno"> 3113</span>&#160;    parse_ctx.advance_to(begin);</div><div class="line"><a name="l03114"></a><span class="lineno"> 3114</span>&#160;    context.advance_to(<a class="code" href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">visit_format_arg</a>(ArgFormatter(context, &amp;specs), <a class="code" href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">arg</a>));</div><div class="line"><a name="l03115"></a><span class="lineno"> 3115</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>;</div><div class="line"><a name="l03116"></a><span class="lineno"> 3116</span>&#160;  }</div><div class="line"><a name="l03117"></a><span class="lineno"> 3117</span>&#160;</div><div class="line"><a name="l03118"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#adcffafbbb51c42a17357ffc66e697fc7"> 3118</a></span>&#160;  Context <a class="code" href="structfmt_1_1v5_1_1format__handler.html#adcffafbbb51c42a17357ffc66e697fc7">context</a>;</div><div class="line"><a name="l03119"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__handler.html#a9df20283c6cfc3b40e350665aa2bf021"> 3119</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__format__arg.html">basic_format_arg&lt;Context&gt;</a> <a class="code" href="structfmt_1_1v5_1_1format__handler.html#a9df20283c6cfc3b40e350665aa2bf021">arg</a>;</div><div class="line"><a name="l03120"></a><span class="lineno"> 3120</span>&#160;};</div><div class="line"><a name="l03121"></a><span class="lineno"> 3121</span>&#160;</div><div class="line"><a name="l03123"></a><span class="lineno"> 3123</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ArgFormatter, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> Context&gt;</div><div class="line"><a name="l03124"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a8634a26fe8408d673308c0fcdea0c6b2"> 3124</a></span>&#160;<span class="keyword">typename</span> Context::iterator <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">vformat_to</a>(</div><div class="line"><a name="l03125"></a><span class="lineno"> 3125</span>&#160;    <span class="keyword">typename</span> ArgFormatter::range out,</div><div class="line"><a name="l03126"></a><span class="lineno"> 3126</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str,</div><div class="line"><a name="l03127"></a><span class="lineno"> 3127</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args&lt;Context&gt;</a> args,</div><div class="line"><a name="l03128"></a><span class="lineno"> 3128</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">internal::locale_ref</a> loc = <a class="code" href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">internal::locale_ref</a>()) {</div><div class="line"><a name="l03129"></a><span class="lineno"> 3129</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1format__handler.html">format_handler&lt;ArgFormatter, Char, Context&gt;</a> h(out, format_str, args, loc);</div><div class="line"><a name="l03130"></a><span class="lineno"> 3130</span>&#160;  internal::parse_format_string&lt;false&gt;(format_str, h);</div><div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>&#160;  <span class="keywordflow">return</span> h.<a class="code" href="structfmt_1_1v5_1_1format__handler.html#adcffafbbb51c42a17357ffc66e697fc7">context</a>.out();</div><div class="line"><a name="l03132"></a><span class="lineno"> 3132</span>&#160;}</div><div class="line"><a name="l03133"></a><span class="lineno"> 3133</span>&#160;</div><div class="line"><a name="l03134"></a><span class="lineno"> 3134</span>&#160;<span class="comment">// Casts ``p`` to ``const void*`` for pointer formatting.</span></div><div class="line"><a name="l03135"></a><span class="lineno"> 3135</span>&#160;<span class="comment">// Example:</span></div><div class="line"><a name="l03136"></a><span class="lineno"> 3136</span>&#160;<span class="comment">//   auto s = format(&quot;{}&quot;, ptr(p));</span></div><div class="line"><a name="l03137"></a><span class="lineno"> 3137</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03138"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03"> 3138</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03">ptr</a>(<span class="keyword">const</span> T *p) { <span class="keywordflow">return</span> p; }</div><div class="line"><a name="l03139"></a><span class="lineno"> 3139</span>&#160;</div><div class="line"><a name="l03140"></a><span class="lineno"> 3140</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> It, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03141"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1arg__join.html"> 3141</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join</a> {</div><div class="line"><a name="l03142"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1arg__join.html#a51f66865c2e307da6d7d1f98a78fda59"> 3142</a></span>&#160;  It <a class="code" href="structfmt_1_1v5_1_1arg__join.html#a51f66865c2e307da6d7d1f98a78fda59">begin</a>;</div><div class="line"><a name="l03143"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1arg__join.html#aea138338c02d417a0633ecebd019e890"> 3143</a></span>&#160;  It <a class="code" href="structfmt_1_1v5_1_1arg__join.html#aea138338c02d417a0633ecebd019e890">end</a>;</div><div class="line"><a name="l03144"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1arg__join.html#a547d8479ecf6206c1931419886574729"> 3144</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> <a class="code" href="structfmt_1_1v5_1_1arg__join.html#a547d8479ecf6206c1931419886574729">sep</a>;</div><div class="line"><a name="l03145"></a><span class="lineno"> 3145</span>&#160;</div><div class="line"><a name="l03146"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1arg__join.html#a6d52e78c112984ea0d5a0344d8be2ae4"> 3146</a></span>&#160;  <a class="code" href="structfmt_1_1v5_1_1arg__join.html#a6d52e78c112984ea0d5a0344d8be2ae4">arg_join</a>(It begin, It end, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> sep)</div><div class="line"><a name="l03147"></a><span class="lineno"> 3147</span>&#160;    : begin(begin), end(end), sep(sep) {}</div><div class="line"><a name="l03148"></a><span class="lineno"> 3148</span>&#160;};</div><div class="line"><a name="l03149"></a><span class="lineno"> 3149</span>&#160;</div><div class="line"><a name="l03150"></a><span class="lineno"> 3150</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> It, <span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03151"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1formatter_3_01arg__join_3_01_it_00_01_char_01_4_00_01_char_01_4.html"> 3151</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1formatter.html">formatter</a>&lt;<a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join</a>&lt;It, Char&gt;, Char&gt;:</div><div class="line"><a name="l03152"></a><span class="lineno"> 3152</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1formatter.html">formatter</a>&lt;typename std::iterator_traits&lt;It&gt;::value_type, Char&gt; {</div><div class="line"><a name="l03153"></a><span class="lineno"> 3153</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> FormatContext&gt;</div><div class="line"><a name="l03154"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1formatter_3_01arg__join_3_01_it_00_01_char_01_4_00_01_char_01_4.html#a4c578e1058ef3524652ae2d6f86cbbfa"> 3154</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="structfmt_1_1v5_1_1formatter_3_01arg__join_3_01_it_00_01_char_01_4_00_01_char_01_4.html#a4c578e1058ef3524652ae2d6f86cbbfa">format</a>(<span class="keyword">const</span> <a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;It, Char&gt;</a> &amp;value, FormatContext &amp;ctx)</div><div class="line"><a name="l03155"></a><span class="lineno"> 3155</span>&#160;      -&gt; decltype(ctx.out()) {</div><div class="line"><a name="l03156"></a><span class="lineno"> 3156</span>&#160;    <span class="keyword">typedef</span> <a class="code" href="structfmt_1_1v5_1_1formatter.html">formatter&lt;typename std::iterator_traits&lt;It&gt;::value_type</a>, Char&gt; base;</div><div class="line"><a name="l03157"></a><span class="lineno"> 3157</span>&#160;    <span class="keyword">auto</span> it = value.begin;</div><div class="line"><a name="l03158"></a><span class="lineno"> 3158</span>&#160;    <span class="keyword">auto</span> out = ctx.out();</div><div class="line"><a name="l03159"></a><span class="lineno"> 3159</span>&#160;    <span class="keywordflow">if</span> (it != value.end) {</div><div class="line"><a name="l03160"></a><span class="lineno"> 3160</span>&#160;      out = <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">base::format</a>(*it++, ctx);</div><div class="line"><a name="l03161"></a><span class="lineno"> 3161</span>&#160;      <span class="keywordflow">while</span> (it != value.end) {</div><div class="line"><a name="l03162"></a><span class="lineno"> 3162</span>&#160;        out = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#afe980acdb2bb4cb83729a07c105159d1">std::copy</a>(value.sep.begin(), value.sep.end(), out);</div><div class="line"><a name="l03163"></a><span class="lineno"> 3163</span>&#160;        ctx.advance_to(out);</div><div class="line"><a name="l03164"></a><span class="lineno"> 3164</span>&#160;        out = <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">base::format</a>(*it++, ctx);</div><div class="line"><a name="l03165"></a><span class="lineno"> 3165</span>&#160;      }</div><div class="line"><a name="l03166"></a><span class="lineno"> 3166</span>&#160;    }</div><div class="line"><a name="l03167"></a><span class="lineno"> 3167</span>&#160;    <span class="keywordflow">return</span> out;</div><div class="line"><a name="l03168"></a><span class="lineno"> 3168</span>&#160;  }</div><div class="line"><a name="l03169"></a><span class="lineno"> 3169</span>&#160;};</div><div class="line"><a name="l03170"></a><span class="lineno"> 3170</span>&#160;</div><div class="line"><a name="l03171"></a><span class="lineno"> 3171</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l03172"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a7610f57d82d6ebfb0869d7583fe13264"> 3172</a></span>&#160;<a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;It, char&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> sep) {</div><div class="line"><a name="l03173"></a><span class="lineno"> 3173</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;It, char&gt;</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, sep);</div><div class="line"><a name="l03174"></a><span class="lineno"> 3174</span>&#160;}</div><div class="line"><a name="l03175"></a><span class="lineno"> 3175</span>&#160;</div><div class="line"><a name="l03176"></a><span class="lineno"> 3176</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l03177"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39"> 3177</a></span>&#160;<a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;It, wchar_t&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, It <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">wstring_view</a> sep) {</div><div class="line"><a name="l03178"></a><span class="lineno"> 3178</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;It, wchar_t&gt;</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">begin</a>, <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">end</a>, sep);</div><div class="line"><a name="l03179"></a><span class="lineno"> 3179</span>&#160;}</div><div class="line"><a name="l03180"></a><span class="lineno"> 3180</span>&#160;</div><div class="line"><a name="l03181"></a><span class="lineno"> 3181</span>&#160;<span class="comment">// The following causes ICE in gcc 4.4.</span></div><div class="line"><a name="l03182"></a><span class="lineno"> 3182</span>&#160;<span class="preprocessor">#if FMT_USE_TRAILING_RETURN &amp;&amp; (!FMT_GCC_VERSION || FMT_GCC_VERSION &gt;= 405)</span></div><div class="line"><a name="l03183"></a><span class="lineno"> 3183</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l03184"></a><span class="lineno"> 3184</span>&#160;<span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(<span class="keyword">const</span> Range &amp;range, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> sep)</div><div class="line"><a name="l03185"></a><span class="lineno"> 3185</span>&#160;    -&gt; <a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;decltype(internal::begin(range)), char&gt;</a> {</div><div class="line"><a name="l03186"></a><span class="lineno"> 3186</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">internal::begin</a>(range), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">internal::end</a>(range), sep);</div><div class="line"><a name="l03187"></a><span class="lineno"> 3187</span>&#160;}</div><div class="line"><a name="l03188"></a><span class="lineno"> 3188</span>&#160;</div><div class="line"><a name="l03189"></a><span class="lineno"> 3189</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Range&gt;</div><div class="line"><a name="l03190"></a><span class="lineno"> 3190</span>&#160;<span class="keyword">auto</span> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(<span class="keyword">const</span> Range &amp;range, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">wstring_view</a> sep)</div><div class="line"><a name="l03191"></a><span class="lineno"> 3191</span>&#160;    -&gt; <a class="code" href="structfmt_1_1v5_1_1arg__join.html">arg_join&lt;decltype(internal::begin(range)), wchar_t&gt;</a> {</div><div class="line"><a name="l03192"></a><span class="lineno"> 3192</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">join</a>(<a class="code" href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">internal::begin</a>(range), <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">internal::end</a>(range), sep);</div><div class="line"><a name="l03193"></a><span class="lineno"> 3193</span>&#160;}</div><div class="line"><a name="l03194"></a><span class="lineno"> 3194</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03195"></a><span class="lineno"> 3195</span>&#160;</div><div class="line"><a name="l03208"></a><span class="lineno"> 3208</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03209"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#af7906102d07e0d93b609aef6c05fc27a"> 3209</a></span>&#160;std::string <a class="code" href="namespacefmt_1_1v5.html#a07522969fe4d2aefef29e120aee66257">to_string</a>(<span class="keyword">const</span> T &amp;value) {</div><div class="line"><a name="l03210"></a><span class="lineno"> 3210</span>&#160;  std::string str;</div><div class="line"><a name="l03211"></a><span class="lineno"> 3211</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1container__buffer.html">internal::container_buffer&lt;std::string&gt;</a> buf(str);</div><div class="line"><a name="l03212"></a><span class="lineno"> 3212</span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">writer</a>(buf).write(value);</div><div class="line"><a name="l03213"></a><span class="lineno"> 3213</span>&#160;  <span class="keywordflow">return</span> str;</div><div class="line"><a name="l03214"></a><span class="lineno"> 3214</span>&#160;}</div><div class="line"><a name="l03215"></a><span class="lineno"> 3215</span>&#160;</div><div class="line"><a name="l03219"></a><span class="lineno"> 3219</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03220"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aab6607dc16d02c9f81d025f93a15caa4"> 3220</a></span>&#160;std::wstring <a class="code" href="namespacefmt_1_1v5.html#aab6607dc16d02c9f81d025f93a15caa4">to_wstring</a>(<span class="keyword">const</span> T &amp;value) {</div><div class="line"><a name="l03221"></a><span class="lineno"> 3221</span>&#160;  std::wstring str;</div><div class="line"><a name="l03222"></a><span class="lineno"> 3222</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1internal_1_1container__buffer.html">internal::container_buffer&lt;std::wstring&gt;</a> buf(str);</div><div class="line"><a name="l03223"></a><span class="lineno"> 3223</span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#a0fd504293f21ab24279d713171185c27">wwriter</a>(buf).write(value);</div><div class="line"><a name="l03224"></a><span class="lineno"> 3224</span>&#160;  <span class="keywordflow">return</span> str;</div><div class="line"><a name="l03225"></a><span class="lineno"> 3225</span>&#160;}</div><div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>&#160;</div><div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, std::<span class="keywordtype">size_t</span> SIZE&gt;</div><div class="line"><a name="l03228"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a07522969fe4d2aefef29e120aee66257"> 3228</a></span>&#160;std::basic_string&lt;Char&gt; <a class="code" href="namespacefmt_1_1v5.html#a07522969fe4d2aefef29e120aee66257">to_string</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;Char, SIZE&gt;</a> &amp;buf) {</div><div class="line"><a name="l03229"></a><span class="lineno"> 3229</span>&#160;  <span class="keywordflow">return</span> std::basic_string&lt;Char&gt;(buf.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a384f1304da6ce18c4713368327354479">data</a>(), buf.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>());</div><div class="line"><a name="l03230"></a><span class="lineno"> 3230</span>&#160;}</div><div class="line"><a name="l03231"></a><span class="lineno"> 3231</span>&#160;</div><div class="line"><a name="l03232"></a><span class="lineno"> 3232</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03233"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#ac0cedf42ad81436f35151f2173458d61"> 3233</a></span>&#160;<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html#aa88412259a118ed5ac97e9bd1cee92e3">buffer_context&lt;Char&gt;::type::iterator</a> <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">internal::vformat_to</a>(</div><div class="line"><a name="l03234"></a><span class="lineno"> 3234</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::basic_buffer&lt;Char&gt;</a> &amp;buf, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str,</div><div class="line"><a name="l03235"></a><span class="lineno"> 3235</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args</a>&lt;<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">buffer_context&lt;Char&gt;::type</a>&gt; args) {</div><div class="line"><a name="l03236"></a><span class="lineno"> 3236</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1back__insert__range.html">back_insert_range&lt;internal::basic_buffer&lt;Char&gt;</a> &gt; range;</div><div class="line"><a name="l03237"></a><span class="lineno"> 3237</span>&#160;  <span class="keywordflow">return</span> vformat_to&lt;arg_formatter&lt;range&gt;&gt;(</div><div class="line"><a name="l03238"></a><span class="lineno"> 3238</span>&#160;    buf, <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str), args);</div><div class="line"><a name="l03239"></a><span class="lineno"> 3239</span>&#160;}</div><div class="line"><a name="l03240"></a><span class="lineno"> 3240</span>&#160;</div><div class="line"><a name="l03241"></a><span class="lineno"> 3241</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> S, <span class="keyword">typename</span> Char = FMT_CHAR(S)&gt;</div><div class="line"><a name="l03242"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a98b8a6fbc7cd86c22d8e2cb0c700665e"> 3242</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html#aa88412259a118ed5ac97e9bd1cee92e3">buffer_context&lt;Char&gt;::type::iterator</a> <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">vformat_to</a>(</div><div class="line"><a name="l03243"></a><span class="lineno"> 3243</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">internal::basic_buffer&lt;Char&gt;</a> &amp;buf, <span class="keyword">const</span> S &amp;format_str,</div><div class="line"><a name="l03244"></a><span class="lineno"> 3244</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args</a>&lt;<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">buffer_context&lt;Char&gt;::type</a>&gt; args) {</div><div class="line"><a name="l03245"></a><span class="lineno"> 3245</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">internal::vformat_to</a>(buf, <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str), args);</div><div class="line"><a name="l03246"></a><span class="lineno"> 3246</span>&#160;}</div><div class="line"><a name="l03247"></a><span class="lineno"> 3247</span>&#160;</div><div class="line"><a name="l03248"></a><span class="lineno"> 3248</span>&#160;<span class="keyword">template</span> &lt;</div><div class="line"><a name="l03249"></a><span class="lineno"> 3249</span>&#160;    <span class="keyword">typename</span> S, <span class="keyword">typename</span>... Args,</div><div class="line"><a name="l03250"></a><span class="lineno"> 3250</span>&#160;    std::size_t SIZE = <a class="code" href="namespacefmt_1_1v5.html#ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0">inline_buffer_size</a>,</div><div class="line"><a name="l03251"></a><span class="lineno"> 3251</span>&#160;    <span class="keyword">typename</span> Char = <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1char__t.html#a096fd6ceeb1d27e1a62b6afeb611f391">internal::char_t&lt;S&gt;::type</a>&gt;</div><div class="line"><a name="l03252"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a313d461ccfeb46a474269b39d6157210"> 3252</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html#aa88412259a118ed5ac97e9bd1cee92e3">buffer_context&lt;Char&gt;::type::iterator</a> <a class="code" href="namespacefmt_1_1v5.html#a8a20d279f251620dbb1d59aaeb3f7fbd">format_to</a>(</div><div class="line"><a name="l03253"></a><span class="lineno"> 3253</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;Char, SIZE&gt;</a> &amp;buf, <span class="keyword">const</span> S &amp;format_str,</div><div class="line"><a name="l03254"></a><span class="lineno"> 3254</span>&#160;    <span class="keyword">const</span> Args &amp;... args) {</div><div class="line"><a name="l03255"></a><span class="lineno"> 3255</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#acd0741048e2d4d76c3a549c5a6d9d857">internal::check_format_string</a>&lt;Args...&gt;(format_str);</div><div class="line"><a name="l03256"></a><span class="lineno"> 3256</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">buffer_context&lt;Char&gt;::type</a> context;</div><div class="line"><a name="l03257"></a><span class="lineno"> 3257</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1format__arg__store.html">format_arg_store</a>&lt;context, Args...&gt; as{args...};</div><div class="line"><a name="l03258"></a><span class="lineno"> 3258</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">internal::vformat_to</a>(buf, <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str),</div><div class="line"><a name="l03259"></a><span class="lineno"> 3259</span>&#160;                              <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args&lt;context&gt;</a>(as));</div><div class="line"><a name="l03260"></a><span class="lineno"> 3260</span>&#160;}</div><div class="line"><a name="l03261"></a><span class="lineno"> 3261</span>&#160;</div><div class="line"><a name="l03262"></a><span class="lineno"> 3262</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l03263"></a><span class="lineno"> 3263</span>&#160;</div><div class="line"><a name="l03264"></a><span class="lineno"> 3264</span>&#160;<span class="comment">// Detect the iterator category of *any* given type in a SFINAE-friendly way.</span></div><div class="line"><a name="l03265"></a><span class="lineno"> 3265</span>&#160;<span class="comment">// Unfortunately, older implementations of std::iterator_traits are not safe</span></div><div class="line"><a name="l03266"></a><span class="lineno"> 3266</span>&#160;<span class="comment">// for use in a SFINAE-context.</span></div><div class="line"><a name="l03267"></a><span class="lineno"> 3267</span>&#160;</div><div class="line"><a name="l03268"></a><span class="lineno"> 3268</span>&#160;<span class="comment">// the gist of C++17&#39;s void_t magic</span></div><div class="line"><a name="l03269"></a><span class="lineno"> 3269</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Ts&gt;</div><div class="line"><a name="l03270"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1void__.html#a574c59a1964f87565829257845c51023"> 3270</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1void__.html">void_</a> { <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1void__.html#a574c59a1964f87565829257845c51023">type</a>; };</div><div class="line"><a name="l03271"></a><span class="lineno"> 3271</span>&#160;</div><div class="line"><a name="l03272"></a><span class="lineno"> 3272</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> Enable = <span class="keywordtype">void</span>&gt;</div><div class="line"><a name="l03273"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1it__category.html"> 3273</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category.html">it_category</a> : std::false_type {};</div><div class="line"><a name="l03274"></a><span class="lineno"> 3274</span>&#160;</div><div class="line"><a name="l03275"></a><span class="lineno"> 3275</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03276"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_01_5_01_4.html#a76ab7e80d700bce301256059f7a38489"> 3276</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category.html">it_category</a>&lt;T*&gt; { <span class="keyword">typedef</span> std::random_access_iterator_tag <a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_01_5_01_4.html#a76ab7e80d700bce301256059f7a38489">type</a>; };</div><div class="line"><a name="l03277"></a><span class="lineno"> 3277</span>&#160;</div><div class="line"><a name="l03278"></a><span class="lineno"> 3278</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03279"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f.html"> 3279</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category.html">it_category</a>&lt;T, typename <a class="code" href="structfmt_1_1v5_1_1internal_1_1void__.html">void_</a>&lt;typename T::iterator_category&gt;<a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f.html#a40cd1ec991c81ebc79830a3e94f1f0d0">::type</a>&gt; {</div><div class="line"><a name="l03280"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f.html#a40cd1ec991c81ebc79830a3e94f1f0d0"> 3280</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> T::iterator_category <a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f.html#a40cd1ec991c81ebc79830a3e94f1f0d0">type</a>;</div><div class="line"><a name="l03281"></a><span class="lineno"> 3281</span>&#160;};</div><div class="line"><a name="l03282"></a><span class="lineno"> 3282</span>&#160;</div><div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>&#160;<span class="comment">// Detect if *any* given type models the OutputIterator concept.</span></div><div class="line"><a name="l03284"></a><span class="lineno"> 3284</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> It&gt;</div><div class="line"><a name="l03285"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html"> 3285</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html">is_output_iterator</a> {</div><div class="line"><a name="l03286"></a><span class="lineno"> 3286</span>&#160;  <span class="comment">// Check for mutability because all iterator categories derived from</span></div><div class="line"><a name="l03287"></a><span class="lineno"> 3287</span>&#160;  <span class="comment">// std::input_iterator_tag *may* also meet the requirements of an</span></div><div class="line"><a name="l03288"></a><span class="lineno"> 3288</span>&#160;  <span class="comment">// OutputIterator, thereby falling into the category of &#39;mutable iterators&#39;</span></div><div class="line"><a name="l03289"></a><span class="lineno"> 3289</span>&#160;  <span class="comment">// [iterator.requirements.general] clause 4.</span></div><div class="line"><a name="l03290"></a><span class="lineno"> 3290</span>&#160;  <span class="comment">// The compiler reveals this property only at the point of *actually</span></div><div class="line"><a name="l03291"></a><span class="lineno"> 3291</span>&#160;  <span class="comment">// dereferencing* the iterator!</span></div><div class="line"><a name="l03292"></a><span class="lineno"> 3292</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l03293"></a><span class="lineno"> 3293</span>&#160;  <span class="keyword">static</span> decltype(*(internal::declval&lt;U&gt;())) test(std::input_iterator_tag);</div><div class="line"><a name="l03294"></a><span class="lineno"> 3294</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l03295"></a><span class="lineno"> 3295</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">char</span>&amp; test(std::output_iterator_tag);</div><div class="line"><a name="l03296"></a><span class="lineno"> 3296</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l03297"></a><span class="lineno"> 3297</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>&amp; test(...);</div><div class="line"><a name="l03298"></a><span class="lineno"> 3298</span>&#160;</div><div class="line"><a name="l03299"></a><span class="lineno"> 3299</span>&#160;  <span class="keyword">typedef</span> decltype(test&lt;It&gt;(<span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1internal_1_1it__category.html">it_category&lt;It&gt;::type</a>{})) <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a>;</div><div class="line"><a name="l03300"></a><span class="lineno"> 3300</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">std::remove_reference&lt;type&gt;::type</a> result;</div><div class="line"><a name="l03301"></a><span class="lineno"> 3301</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l03302"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html#aa4d927007ddeb8efaa78d8b164ec5549"> 3302</a></span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> value = !std::is_const&lt;result&gt;::value;</div><div class="line"><a name="l03303"></a><span class="lineno"> 3303</span>&#160;};</div><div class="line"><a name="l03304"></a><span class="lineno"> 3304</span>&#160;} <span class="comment">// internal</span></div><div class="line"><a name="l03305"></a><span class="lineno"> 3305</span>&#160;</div><div class="line"><a name="l03306"></a><span class="lineno"> 3306</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char = <span class="keywordtype">char</span>&gt;</div><div class="line"><a name="l03307"></a><span class="lineno"> 3307</span>&#160;<span class="comment">//using format_context_t = basic_format_context&lt;OutputIt, Char&gt;;</span></div><div class="line"><a name="l03308"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__context__t.html#a3a779c0aeb8ba0ea1aed0b8c3b3b53c1"> 3308</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__context__t.html">format_context_t</a> { <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">basic_format_context&lt;OutputIt, Char&gt;</a> <a class="code" href="structfmt_1_1v5_1_1format__context__t.html#a3a779c0aeb8ba0ea1aed0b8c3b3b53c1">type</a>; };</div><div class="line"><a name="l03309"></a><span class="lineno"> 3309</span>&#160;</div><div class="line"><a name="l03310"></a><span class="lineno"> 3310</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char = <span class="keywordtype">char</span>&gt;</div><div class="line"><a name="l03311"></a><span class="lineno"> 3311</span>&#160;<span class="comment">//using format_args_t = basic_format_args&lt;format_context_t&lt;OutputIt, Char&gt;&gt;;</span></div><div class="line"><a name="l03312"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__args__t.html"> 3312</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__args__t.html">format_args_t</a> {</div><div class="line"><a name="l03313"></a><span class="lineno"> 3313</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args</a>&lt;</div><div class="line"><a name="l03314"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__args__t.html#aa4f31b5332a6cdd12d1b7a7e766770dd"> 3314</a></span>&#160;    <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">format_context_t&lt;OutputIt, Char&gt;::type</a>&gt; <a class="code" href="structfmt_1_1v5_1_1format__args__t.html#aa4f31b5332a6cdd12d1b7a7e766770dd">type</a>;</div><div class="line"><a name="l03315"></a><span class="lineno"> 3315</span>&#160;};</div><div class="line"><a name="l03316"></a><span class="lineno"> 3316</span>&#160;</div><div class="line"><a name="l03317"></a><span class="lineno"> 3317</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> String, <span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03318"></a><span class="lineno"> 3318</span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> std::enable_if&lt;internal::is_output_iterator&lt;OutputIt&gt;::value,</div><div class="line"><a name="l03319"></a><span class="lineno"> 3319</span>&#160;                               OutputIt&gt;<a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">::type</a></div><div class="line"><a name="l03320"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca"> 3320</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">vformat_to</a>(OutputIt out, <span class="keyword">const</span> String &amp;format_str,</div><div class="line"><a name="l03321"></a><span class="lineno"> 3321</span>&#160;               <span class="keyword">typename</span> <a class="code" href="structfmt_1_1v5_1_1format__args__t.html">format_args_t</a>&lt;OutputIt, <a class="code" href="core_8h.html#a30260f394fa5dca5ec3c6db9a0acb02e">FMT_CHAR</a>(String)&gt;::<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">type</a> args) {</div><div class="line"><a name="l03322"></a><span class="lineno"> 3322</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1output__range.html">output_range&lt;OutputIt, FMT_CHAR(String)&gt;</a> range;</div><div class="line"><a name="l03323"></a><span class="lineno"> 3323</span>&#160;  <span class="keywordflow">return</span> vformat_to&lt;arg_formatter&lt;range&gt;&gt;(range(out),</div><div class="line"><a name="l03324"></a><span class="lineno"> 3324</span>&#160;                                          <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str), args);</div><div class="line"><a name="l03325"></a><span class="lineno"> 3325</span>&#160;}</div><div class="line"><a name="l03326"></a><span class="lineno"> 3326</span>&#160;</div><div class="line"><a name="l03338"></a><span class="lineno"> 3338</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> S, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03339"></a><span class="lineno"> 3339</span>&#160;<span class="keyword">inline</span> <a class="code" href="core_8h.html#a515a4ead7f137e2c96a61e2aa87ae862">FMT_ENABLE_IF_T</a>(</div><div class="line"><a name="l03340"></a><span class="lineno"> 3340</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1internal_1_1is__string.html">internal::is_string&lt;S&gt;::value</a> &amp;&amp;</div><div class="line"><a name="l03341"></a><span class="lineno"> 3341</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html">internal::is_output_iterator&lt;OutputIt&gt;::value</a>, OutputIt)</div><div class="line"><a name="l03342"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a8a20d279f251620dbb1d59aaeb3f7fbd"> 3342</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#a8a20d279f251620dbb1d59aaeb3f7fbd">format_to</a>(OutputIt out, const S &amp;format_str, const Args &amp;... args) {</div><div class="line"><a name="l03343"></a><span class="lineno"> 3343</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#acd0741048e2d4d76c3a549c5a6d9d857">internal::check_format_string</a>&lt;Args...&gt;(format_str);</div><div class="line"><a name="l03344"></a><span class="lineno"> 3344</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">format_context_t&lt;OutputIt, FMT_CHAR(S)&gt;::type</a> context;</div><div class="line"><a name="l03345"></a><span class="lineno"> 3345</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1format__arg__store.html">format_arg_store</a>&lt;context, Args...&gt; as{args...};</div><div class="line"><a name="l03346"></a><span class="lineno"> 3346</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">vformat_to</a>(out, <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str),</div><div class="line"><a name="l03347"></a><span class="lineno"> 3347</span>&#160;                    <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args&lt;context&gt;</a>(as));</div><div class="line"><a name="l03348"></a><span class="lineno"> 3348</span>&#160;}</div><div class="line"><a name="l03349"></a><span class="lineno"> 3349</span>&#160;</div><div class="line"><a name="l03350"></a><span class="lineno"> 3350</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt&gt;</div><div class="line"><a name="l03351"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__result.html"> 3351</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__to__n__result.html">format_to_n_result</a> {</div><div class="line"><a name="l03353"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__result.html#a03f23327f9690a2407193ad112a1b65d"> 3353</a></span>&#160;  OutputIt <a class="code" href="structfmt_1_1v5_1_1format__to__n__result.html#a03f23327f9690a2407193ad112a1b65d">out</a>;</div><div class="line"><a name="l03355"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__result.html#a2c99d057867cf7e981ef53845a398f42"> 3355</a></span>&#160;  std::size_t <a class="code" href="structfmt_1_1v5_1_1format__to__n__result.html#a2c99d057867cf7e981ef53845a398f42">size</a>;</div><div class="line"><a name="l03356"></a><span class="lineno"> 3356</span>&#160;};</div><div class="line"><a name="l03357"></a><span class="lineno"> 3357</span>&#160;</div><div class="line"><a name="l03358"></a><span class="lineno"> 3358</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char = <span class="keyword">typename</span> OutputIt::value_type&gt;</div><div class="line"><a name="l03359"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__context.html"> 3359</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__to__n__context.html">format_to_n_context</a> :</div><div class="line"><a name="l03360"></a><span class="lineno"> 3360</span>&#160;  <a class="code" href="structfmt_1_1v5_1_1format__context__t.html">format_context_t</a>&lt;fmt::internal::truncating_iterator&lt;OutputIt&gt;, Char&gt; {};</div><div class="line"><a name="l03361"></a><span class="lineno"> 3361</span>&#160;</div><div class="line"><a name="l03362"></a><span class="lineno"> 3362</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char = <span class="keyword">typename</span> OutputIt::value_type&gt;</div><div class="line"><a name="l03363"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__args.html"> 3363</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfmt_1_1v5_1_1format__to__n__args.html">format_to_n_args</a> {</div><div class="line"><a name="l03364"></a><span class="lineno"> 3364</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args</a>&lt;</div><div class="line"><a name="l03365"></a><span class="lineno"><a class="line" href="structfmt_1_1v5_1_1format__to__n__args.html#a68938d8d3d0df2ee1150ceba97964bc4"> 3365</a></span>&#160;    <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">format_to_n_context&lt;OutputIt, Char&gt;::type</a>&gt; <a class="code" href="structfmt_1_1v5_1_1format__to__n__args.html#a68938d8d3d0df2ee1150ceba97964bc4">type</a>;</div><div class="line"><a name="l03366"></a><span class="lineno"> 3366</span>&#160;};</div><div class="line"><a name="l03367"></a><span class="lineno"> 3367</span>&#160;</div><div class="line"><a name="l03368"></a><span class="lineno"> 3368</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char, <span class="keyword">typename</span> ...Args&gt;</div><div class="line"><a name="l03369"></a><span class="lineno"> 3369</span>&#160;<span class="keyword">inline</span> <a class="code" href="classfmt_1_1v5_1_1format__arg__store.html">format_arg_store</a>&lt;</div><div class="line"><a name="l03370"></a><span class="lineno"> 3370</span>&#160;  <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">format_to_n_context&lt;OutputIt, Char&gt;::type</a>, Args...&gt;</div><div class="line"><a name="l03371"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#ad3b4a0f750f29748c08ff9882f05a832"> 3371</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#ad3b4a0f750f29748c08ff9882f05a832">make_format_to_n_args</a>(<span class="keyword">const</span> Args &amp;... args) {</div><div class="line"><a name="l03372"></a><span class="lineno"> 3372</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classfmt_1_1v5_1_1format__arg__store.html">format_arg_store</a>&lt;</div><div class="line"><a name="l03373"></a><span class="lineno"> 3373</span>&#160;    <span class="keyword">typename</span> format_to_n_context&lt;OutputIt, Char&gt;::type, Args...&gt;(args...);</div><div class="line"><a name="l03374"></a><span class="lineno"> 3374</span>&#160;}</div><div class="line"><a name="l03375"></a><span class="lineno"> 3375</span>&#160;</div><div class="line"><a name="l03376"></a><span class="lineno"> 3376</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> Char, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03377"></a><span class="lineno"> 3377</span>&#160;<span class="keyword">inline</span> <span class="keyword">typename</span> std::enable_if&lt;</div><div class="line"><a name="l03378"></a><span class="lineno"> 3378</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html">internal::is_output_iterator&lt;OutputIt&gt;::value</a>,</div><div class="line"><a name="l03379"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a8df5e9fe475de8e789a43b8a40d60541"> 3379</a></span>&#160;    <a class="code" href="structfmt_1_1v5_1_1format__to__n__result.html">format_to_n_result&lt;OutputIt&gt;</a>&gt;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">::type</a> <a class="code" href="namespacefmt_1_1v5.html#a8df5e9fe475de8e789a43b8a40d60541">vformat_to_n</a>(</div><div class="line"><a name="l03380"></a><span class="lineno"> 3380</span>&#160;    OutputIt out, std::size_t n, <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str,</div><div class="line"><a name="l03381"></a><span class="lineno"> 3381</span>&#160;    <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">format_to_n_args&lt;OutputIt, Char&gt;::type</a> args) {</div><div class="line"><a name="l03382"></a><span class="lineno"> 3382</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">internal::truncating_iterator&lt;OutputIt&gt;</a> It;</div><div class="line"><a name="l03383"></a><span class="lineno"> 3383</span>&#160;  <span class="keyword">auto</span> it = <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">vformat_to</a>(It(out, n), format_str, args);</div><div class="line"><a name="l03384"></a><span class="lineno"> 3384</span>&#160;  <span class="keywordflow">return</span> {it.base(), it.count()};</div><div class="line"><a name="l03385"></a><span class="lineno"> 3385</span>&#160;}</div><div class="line"><a name="l03386"></a><span class="lineno"> 3386</span>&#160;</div><div class="line"><a name="l03394"></a><span class="lineno"> 3394</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> OutputIt, <span class="keyword">typename</span> S, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03395"></a><span class="lineno"> 3395</span>&#160;<span class="keyword">inline</span> <a class="code" href="core_8h.html#a515a4ead7f137e2c96a61e2aa87ae862">FMT_ENABLE_IF_T</a>(</div><div class="line"><a name="l03396"></a><span class="lineno"> 3396</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1internal_1_1is__string.html">internal::is_string&lt;S&gt;::value</a> &amp;&amp;</div><div class="line"><a name="l03397"></a><span class="lineno"> 3397</span>&#160;    internal::is_output_iterator&lt;OutputIt&gt;::value,</div><div class="line"><a name="l03398"></a><span class="lineno"> 3398</span>&#160;    <a class="code" href="structfmt_1_1v5_1_1format__to__n__result.html">format_to_n_result&lt;OutputIt&gt;</a>)</div><div class="line"><a name="l03399"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#afd2370b282e0a28b3e4981adb2cd723e"> 3399</a></span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#afd2370b282e0a28b3e4981adb2cd723e">format_to_n</a>(OutputIt out, <a class="code" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n, const S &amp;format_str,</div><div class="line"><a name="l03400"></a><span class="lineno"> 3400</span>&#160;                const Args &amp;... args) {</div><div class="line"><a name="l03401"></a><span class="lineno"> 3401</span>&#160;  <a class="code" href="namespacefmt_1_1v5_1_1internal.html#acd0741048e2d4d76c3a549c5a6d9d857">internal::check_format_string</a>&lt;Args...&gt;(format_str);</div><div class="line"><a name="l03402"></a><span class="lineno"> 3402</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="core_8h.html#a30260f394fa5dca5ec3c6db9a0acb02e">FMT_CHAR</a>(S) Char;</div><div class="line"><a name="l03403"></a><span class="lineno"> 3403</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1format__arg__store.html">format_arg_store</a>&lt;</div><div class="line"><a name="l03404"></a><span class="lineno"> 3404</span>&#160;      <span class="keyword">typename</span> format_to_n_context&lt;OutputIt, Char&gt;::type, Args...&gt; as(args...);</div><div class="line"><a name="l03405"></a><span class="lineno"> 3405</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a8df5e9fe475de8e789a43b8a40d60541">vformat_to_n</a>(out, n, <a class="code" href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">to_string_view</a>(format_str),</div><div class="line"><a name="l03406"></a><span class="lineno"> 3406</span>&#160;                      <span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">format_to_n_args&lt;OutputIt, Char&gt;::type</a>(as));</div><div class="line"><a name="l03407"></a><span class="lineno"> 3407</span>&#160;}</div><div class="line"><a name="l03408"></a><span class="lineno"> 3408</span>&#160;</div><div class="line"><a name="l03409"></a><span class="lineno"> 3409</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03410"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5_1_1internal.html#a8561b3876ffaedaf2b94f434da083c34"> 3410</a></span>&#160;<span class="keyword">inline</span> std::basic_string&lt;Char&gt; <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a8561b3876ffaedaf2b94f434da083c34">internal::vformat</a>(</div><div class="line"><a name="l03411"></a><span class="lineno"> 3411</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a> format_str,</div><div class="line"><a name="l03412"></a><span class="lineno"> 3412</span>&#160;    <a class="code" href="classfmt_1_1v5_1_1basic__format__args.html">basic_format_args</a>&lt;<span class="keyword">typename</span> <a class="code" href="classfmt_1_1v5_1_1basic__format__context.html">buffer_context&lt;Char&gt;::type</a>&gt; args) {</div><div class="line"><a name="l03413"></a><span class="lineno"> 3413</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">basic_memory_buffer&lt;Char&gt;</a> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>;</div><div class="line"><a name="l03414"></a><span class="lineno"> 3414</span>&#160;  <a class="code" href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">internal::vformat_to</a>(buffer, format_str, args);</div><div class="line"><a name="l03415"></a><span class="lineno"> 3415</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#a07522969fe4d2aefef29e120aee66257">fmt::to_string</a>(buffer);</div><div class="line"><a name="l03416"></a><span class="lineno"> 3416</span>&#160;}</div><div class="line"><a name="l03417"></a><span class="lineno"> 3417</span>&#160;</div><div class="line"><a name="l03422"></a><span class="lineno"> 3422</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03423"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aa9bd093b16b2a8d6e0e833a5db959631"> 3423</a></span>&#160;<span class="keyword">inline</span> std::size_t <a class="code" href="namespacefmt_1_1v5.html#aa9bd093b16b2a8d6e0e833a5db959631">formatted_size</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> format_str,</div><div class="line"><a name="l03424"></a><span class="lineno"> 3424</span>&#160;                                  <span class="keyword">const</span> Args &amp;... args) {</div><div class="line"><a name="l03425"></a><span class="lineno"> 3425</span>&#160;  <span class="keyword">auto</span> it = <a class="code" href="namespacefmt_1_1v5.html#a8a20d279f251620dbb1d59aaeb3f7fbd">format_to</a>(<a class="code" href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">internal::counting_iterator&lt;char&gt;</a>(), format_str, args...);</div><div class="line"><a name="l03426"></a><span class="lineno"> 3426</span>&#160;  <span class="keywordflow">return</span> it.count();</div><div class="line"><a name="l03427"></a><span class="lineno"> 3427</span>&#160;}</div><div class="line"><a name="l03428"></a><span class="lineno"> 3428</span>&#160;</div><div class="line"><a name="l03429"></a><span class="lineno"> 3429</span>&#160;<span class="preprocessor">#if FMT_USE_USER_DEFINED_LITERALS</span></div><div class="line"><a name="l03430"></a><span class="lineno"> 3430</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l03431"></a><span class="lineno"> 3431</span>&#160;</div><div class="line"><a name="l03432"></a><span class="lineno"> 3432</span>&#160;<span class="preprocessor"># if FMT_UDL_TEMPLATE</span></div><div class="line"><a name="l03433"></a><span class="lineno"> 3433</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, Char... CHARS&gt;</div><div class="line"><a name="l03434"></a><span class="lineno"> 3434</span>&#160;<span class="keyword">class </span>udl_formatter {</div><div class="line"><a name="l03435"></a><span class="lineno"> 3435</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l03436"></a><span class="lineno"> 3436</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03437"></a><span class="lineno"> 3437</span>&#160;  std::basic_string&lt;Char&gt; operator()(<span class="keyword">const</span> Args &amp;... args)<span class="keyword"> const </span>{</div><div class="line"><a name="l03438"></a><span class="lineno"> 3438</span>&#160;    <a class="code" href="core_8h.html#af4388801466a5994a363d6005616371a">FMT_CONSTEXPR_DECL</a> Char s[] = {CHARS..., <span class="charliteral">&#39;\0&#39;</span>};</div><div class="line"><a name="l03439"></a><span class="lineno"> 3439</span>&#160;    <a class="code" href="core_8h.html#af4388801466a5994a363d6005616371a">FMT_CONSTEXPR_DECL</a> <span class="keywordtype">bool</span> invalid_format =</div><div class="line"><a name="l03440"></a><span class="lineno"> 3440</span>&#160;        <a class="code" href="namespacefmt_1_1v5_1_1internal.html#adbcd0335b87494a6785e0416aced9b09">do_check_format_string</a>&lt;Char, error_handler, Args...&gt;(</div><div class="line"><a name="l03441"></a><span class="lineno"> 3441</span>&#160;          <a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">basic_string_view&lt;Char&gt;</a>(s, <span class="keyword">sizeof</span>...(CHARS)));</div><div class="line"><a name="l03442"></a><span class="lineno"> 3442</span>&#160;    (void)invalid_format;</div><div class="line"><a name="l03443"></a><span class="lineno"> 3443</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>(s, args...);</div><div class="line"><a name="l03444"></a><span class="lineno"> 3444</span>&#160;  }</div><div class="line"><a name="l03445"></a><span class="lineno"> 3445</span>&#160;};</div><div class="line"><a name="l03446"></a><span class="lineno"> 3446</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l03447"></a><span class="lineno"> 3447</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03448"></a><span class="lineno"> 3448</span>&#160;<span class="keyword">struct </span>udl_formatter {</div><div class="line"><a name="l03449"></a><span class="lineno"> 3449</span>&#160;  <span class="keyword">const</span> Char *str;</div><div class="line"><a name="l03450"></a><span class="lineno"> 3450</span>&#160;</div><div class="line"><a name="l03451"></a><span class="lineno"> 3451</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l03452"></a><span class="lineno"> 3452</span>&#160;  <span class="keyword">auto</span> operator()(Args &amp;&amp;... args) <span class="keyword">const</span></div><div class="line"><a name="l03453"></a><span class="lineno"> 3453</span>&#160;                  -&gt; decltype(<a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>(str, std::forward&lt;Args&gt;(args)...)) {</div><div class="line"><a name="l03454"></a><span class="lineno"> 3454</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">format</a>(str, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l03455"></a><span class="lineno"> 3455</span>&#160;  }</div><div class="line"><a name="l03456"></a><span class="lineno"> 3456</span>&#160;};</div><div class="line"><a name="l03457"></a><span class="lineno"> 3457</span>&#160;<span class="preprocessor"># endif // FMT_UDL_TEMPLATE</span></div><div class="line"><a name="l03458"></a><span class="lineno"> 3458</span>&#160;</div><div class="line"><a name="l03459"></a><span class="lineno"> 3459</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div><div class="line"><a name="l03460"></a><span class="lineno"> 3460</span>&#160;<span class="keyword">struct </span>udl_arg {</div><div class="line"><a name="l03461"></a><span class="lineno"> 3461</span>&#160;  <span class="keyword">const</span> Char *str;</div><div class="line"><a name="l03462"></a><span class="lineno"> 3462</span>&#160;</div><div class="line"><a name="l03463"></a><span class="lineno"> 3463</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l03464"></a><span class="lineno"> 3464</span>&#160;  named_arg&lt;T, Char&gt; operator=(T &amp;&amp;value)<span class="keyword"> const </span>{</div><div class="line"><a name="l03465"></a><span class="lineno"> 3465</span>&#160;    <span class="keywordflow">return</span> {str, std::forward&lt;T&gt;(value)};</div><div class="line"><a name="l03466"></a><span class="lineno"> 3466</span>&#160;  }</div><div class="line"><a name="l03467"></a><span class="lineno"> 3467</span>&#160;};</div><div class="line"><a name="l03468"></a><span class="lineno"> 3468</span>&#160;</div><div class="line"><a name="l03469"></a><span class="lineno"> 3469</span>&#160;} <span class="comment">// namespace internal</span></div><div class="line"><a name="l03470"></a><span class="lineno"> 3470</span>&#160;</div><div class="line"><a name="l03471"></a><span class="lineno"> 3471</span>&#160;<span class="keyword">inline</span> <span class="keyword">namespace </span>literals {</div><div class="line"><a name="l03472"></a><span class="lineno"> 3472</span>&#160;</div><div class="line"><a name="l03473"></a><span class="lineno"> 3473</span>&#160;<span class="preprocessor"># if FMT_UDL_TEMPLATE</span></div><div class="line"><a name="l03474"></a><span class="lineno"> 3474</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char, Char... CHARS&gt;</div><div class="line"><a name="l03475"></a><span class="lineno"> 3475</span>&#160;<a class="code" href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a> internal::udl_formatter&lt;Char, CHARS...&gt; <span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span>_format() {</div><div class="line"><a name="l03476"></a><span class="lineno"> 3476</span>&#160;  <span class="keywordflow">return</span> {};</div><div class="line"><a name="l03477"></a><span class="lineno"> 3477</span>&#160;}</div><div class="line"><a name="l03478"></a><span class="lineno"> 3478</span>&#160;<span class="preprocessor"># else</span></div><div class="line"><a name="l03479"></a><span class="lineno"> 3479</span>&#160;</div><div class="line"><a name="l03489"></a><span class="lineno"> 3489</span>&#160;<span class="keyword">inline</span> internal::udl_formatter&lt;char&gt;</div><div class="line"><a name="l03490"></a><span class="lineno"> 3490</span>&#160;<span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span> _format(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, std::size_t) { <span class="keywordflow">return</span> {s}; }</div><div class="line"><a name="l03491"></a><span class="lineno"> 3491</span>&#160;<span class="keyword">inline</span> internal::udl_formatter&lt;wchar_t&gt;</div><div class="line"><a name="l03492"></a><span class="lineno"> 3492</span>&#160;<span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span> _format(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *s, std::size_t) { <span class="keywordflow">return</span> {s}; }</div><div class="line"><a name="l03493"></a><span class="lineno"> 3493</span>&#160;<span class="preprocessor"># endif // FMT_UDL_TEMPLATE</span></div><div class="line"><a name="l03494"></a><span class="lineno"> 3494</span>&#160;</div><div class="line"><a name="l03505"></a><span class="lineno"> 3505</span>&#160;<span class="keyword">inline</span> internal::udl_arg&lt;char&gt;</div><div class="line"><a name="l03506"></a><span class="lineno"> 3506</span>&#160;<span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span> _a(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, std::size_t) { <span class="keywordflow">return</span> {s}; }</div><div class="line"><a name="l03507"></a><span class="lineno"> 3507</span>&#160;<span class="keyword">inline</span> internal::udl_arg&lt;wchar_t&gt;</div><div class="line"><a name="l03508"></a><span class="lineno"> 3508</span>&#160;<span class="keyword">operator</span><span class="stringliteral">&quot;&quot;</span> _a(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *s, std::size_t) { <span class="keywordflow">return</span> {s}; }</div><div class="line"><a name="l03509"></a><span class="lineno"> 3509</span>&#160;} <span class="comment">// inline namespace literals</span></div><div class="line"><a name="l03510"></a><span class="lineno"> 3510</span>&#160;<span class="preprocessor">#endif // FMT_USE_USER_DEFINED_LITERALS</span></div><div class="line"><a name="l03511"></a><span class="lineno"> 3511</span>&#160;<a class="code" href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="line"><a name="l03512"></a><span class="lineno"> 3512</span>&#160;</div><div class="line"><a name="l03513"></a><span class="lineno"><a class="line" href="format_8h.html#a09119ad072f708d17b88704fa898aff0"> 3513</a></span>&#160;<span class="preprocessor">#define FMT_STRING(s) [] { \</span></div><div class="line"><a name="l03514"></a><span class="lineno"> 3514</span>&#160;<span class="preprocessor">    typedef typename std::remove_cv&lt;std::remove_pointer&lt; \</span></div><div class="line"><a name="l03515"></a><span class="lineno"> 3515</span>&#160;<span class="preprocessor">      typename std::decay&lt;decltype(s)&gt;::type&gt;::type&gt;::type ct; \</span></div><div class="line"><a name="l03516"></a><span class="lineno"> 3516</span>&#160;<span class="preprocessor">    struct str : fmt::compile_string { \</span></div><div class="line"><a name="l03517"></a><span class="lineno"> 3517</span>&#160;<span class="preprocessor">      typedef ct char_type; \</span></div><div class="line"><a name="l03518"></a><span class="lineno"> 3518</span>&#160;<span class="preprocessor">      FMT_CONSTEXPR operator fmt::basic_string_view&lt;ct&gt;() const { \</span></div><div class="line"><a name="l03519"></a><span class="lineno"> 3519</span>&#160;<span class="preprocessor">        return {s, sizeof(s) / sizeof(ct) - 1}; \</span></div><div class="line"><a name="l03520"></a><span class="lineno"> 3520</span>&#160;<span class="preprocessor">      } \</span></div><div class="line"><a name="l03521"></a><span class="lineno"> 3521</span>&#160;<span class="preprocessor">    }; \</span></div><div class="line"><a name="l03522"></a><span class="lineno"> 3522</span>&#160;<span class="preprocessor">    return str{}; \</span></div><div class="line"><a name="l03523"></a><span class="lineno"> 3523</span>&#160;<span class="preprocessor">  }()</span></div><div class="line"><a name="l03524"></a><span class="lineno"> 3524</span>&#160;</div><div class="line"><a name="l03525"></a><span class="lineno"> 3525</span>&#160;<span class="preprocessor">#if defined(FMT_STRING_ALIAS) &amp;&amp; FMT_STRING_ALIAS</span></div><div class="line"><a name="l03526"></a><span class="lineno"> 3526</span>&#160;</div><div class="line"><a name="l03540"></a><span class="lineno"> 3540</span>&#160;<span class="preprocessor"># define fmt(s) FMT_STRING(s)</span></div><div class="line"><a name="l03541"></a><span class="lineno"> 3541</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03542"></a><span class="lineno"> 3542</span>&#160;</div><div class="line"><a name="l03543"></a><span class="lineno"> 3543</span>&#160;<span class="preprocessor">#ifdef FMT_HEADER_ONLY</span></div><div class="line"><a name="l03544"></a><span class="lineno"> 3544</span>&#160;<span class="preprocessor"># define FMT_FUNC inline</span></div><div class="line"><a name="l03545"></a><span class="lineno"> 3545</span>&#160;<span class="preprocessor"># include &quot;<a class="code" href="format-inl_8h.html">format-inl.h</a>&quot;</span></div><div class="line"><a name="l03546"></a><span class="lineno"> 3546</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l03547"></a><span class="lineno"><a class="line" href="format_8h.html#a02c8898388e0ae59aab58be14fcd4e05"> 3547</a></span>&#160;<span class="preprocessor"># define FMT_FUNC</span></div><div class="line"><a name="l03548"></a><span class="lineno"> 3548</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03549"></a><span class="lineno"> 3549</span>&#160;</div><div class="line"><a name="l03550"></a><span class="lineno"> 3550</span>&#160;<span class="comment">// Restore warnings.</span></div><div class="line"><a name="l03551"></a><span class="lineno"> 3551</span>&#160;<span class="preprocessor">#if FMT_GCC_VERSION &gt;= 406 || FMT_CLANG_VERSION</span></div><div class="line"><a name="l03552"></a><span class="lineno"> 3552</span>&#160;<span class="preprocessor"># pragma GCC diagnostic pop</span></div><div class="line"><a name="l03553"></a><span class="lineno"> 3553</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03554"></a><span class="lineno"> 3554</span>&#160;</div><div class="line"><a name="l03555"></a><span class="lineno"> 3555</span>&#160;<span class="preprocessor">#endif  // FMT_FORMAT_H_</span></div><div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a59b215cea8bf6e89883b58c47d4f0d94"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a59b215cea8bf6e89883b58c47d4f0d94">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">iterator operator()(basic_string_view&lt; char_type &gt; value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01427">format.h:1427</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a065412840bd7bab950a7f4df38fbc94b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a065412840bd7bab950a7f4df38fbc94b">fmt::v5::internal::arg_formatter_base::char_type</a></div><div class="ttdeci">Range::value_type char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01307">format.h:1307</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a8d9a7509b995a14fda3e033789be636e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a8d9a7509b995a14fda3e033789be636e">fmt::v5::internal::basic_buffer::begin</a></div><div class="ttdeci">T * begin()</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00246">core.h:246</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_a36e54d0d8eca245cbb452460373122df"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a36e54d0d8eca245cbb452460373122df">fmt::v5::internal::precision_adapter::operator()</a></div><div class="ttdeci">void operator()(unsigned id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01833">format.h:1833</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1format__type_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1format__type.html">fmt::v5::internal::format_type</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02130">format.h:2130</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_aeca213f76448b8e011beaa446d70203d"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#aeca213f76448b8e011beaa446d70203d">fmt::v5::internal::dynamic_specs_handler::dynamic_specs_handler</a></div><div class="ttdeci">dynamic_specs_handler(dynamic_format_specs&lt; char_type &gt; &amp;specs, ParseContext &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01746">format.h:1746</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1fill_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1fill.html">fmt::v5::internal::fill</a></div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00608">format-inl.h:608</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1char__t_html_a096fd6ceeb1d27e1a62b6afeb611f391"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1char__t.html#a096fd6ceeb1d27e1a62b6afeb611f391">fmt::v5::internal::char_t::type</a></div><div class="ttdeci">result::char_type type</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00521">core.h:521</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a44813c139c2754dcf56294433728ca44"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a44813c139c2754dcf56294433728ca44">fmt::v5::float_spec_handler::on_error</a></div><div class="ttdeci">void on_error()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02691">format.h:2691</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1arg__join_html_a51f66865c2e307da6d7d1f98a78fda59"><div class="ttname"><a href="structfmt_1_1v5_1_1arg__join.html#a51f66865c2e307da6d7d1f98a78fda59">fmt::v5::arg_join::begin</a></div><div class="ttdeci">It begin</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03142">format.h:3142</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aa579a1942a92c8b98d2759981faad596"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aa579a1942a92c8b98d2759981faad596">fmt::v5::internal::begin</a></div><div class="ttdeci">T * begin(T(&amp;array)[N])</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00255">format.h:255</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1width__checker_html_a5cbe5b8226dc90636572d2e0d2b30c01"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a5cbe5b8226dc90636572d2e0d2b30c01">fmt::v5::internal::width_checker::operator()</a></div><div class="ttdeci">std::enable_if&lt; !is_integer&lt; T &gt;::value, unsigned long long &gt;::type operator()(T)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01520">format.h:1520</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html">fmt::v5::arg_formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02155">format.h:2155</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1formatter_3_01arg__join_3_01_it_00_01_char_01_4_00_01_char_01_4_html_a4c578e1058ef3524652ae2d6f86cbbfa"><div class="ttname"><a href="structfmt_1_1v5_1_1formatter_3_01arg__join_3_01_it_00_01_char_01_4_00_01_char_01_4.html#a4c578e1058ef3524652ae2d6f86cbbfa">fmt::v5::formatter&lt; arg_join&lt; It, Char &gt;, Char &gt;::format</a></div><div class="ttdeci">auto format(const arg_join&lt; It, Char &gt; &amp;value, FormatContext &amp;ctx) -&gt; decltype(ctx.out())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03154">format.h:3154</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a08c5f4af9e7376bd3e21f6cc89b6b7a6"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a08c5f4af9e7376bd3e21f6cc89b6b7a6">fmt::v5::float_spec_handler::on_exp</a></div><div class="ttdeci">void on_exp()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02671">format.h:2671</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer_html_a8edbb050b389a024b0ce9539a06c91bd"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a8edbb050b389a024b0ce9539a06c91bd">fmt::v5::basic_writer::int_writer::hex_writer::operator()</a></div><div class="ttdeci">void operator()(It &amp;&amp;it) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02420">format.h:2420</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1u8string__view_html_a7d8fc1c8138683c75574261561e78652"><div class="ttname"><a href="classfmt_1_1v5_1_1u8string__view.html#a7d8fc1c8138683c75574261561e78652">fmt::v5::u8string_view::u8string_view</a></div><div class="ttdeci">u8string_view(const char *s, size_t count)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00417">format.h:417</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a876de4b97bc3e1f22ff5879b47db9093"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a876de4b97bc3e1f22ff5879b47db9093">fmt::v5::internal::fputil</a></div><div class="ttdeci">std::numeric_limits&lt; internal::dummy_int &gt; fputil</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00272">format.h:272</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__args_html_aae77a07c32a92e56243ff0a76f51eaff"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__args.html#aae77a07c32a92e56243ff0a76f51eaff">fmt::v5::basic_format_args::args_</a></div><div class="ttdeci">const format_arg * args_</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01219">core.h:1219</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_a022d595c17259f8b0df0e10f4397ca67"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a022d595c17259f8b0df0e10f4397ca67">fmt::v5::internal::float_type_checker::on_exp</a></div><div class="ttdeci">void on_exp()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01238">format.h:1238</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a249ca42d663b664f5b0a78850325d02c"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a249ca42d663b664f5b0a78850325d02c">fmt::v5::internal::is_negative</a></div><div class="ttdeci">std::enable_if&lt; !std::numeric_limits&lt; T &gt;::is_signed, bool &gt;::type is_negative(T)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00732">format.h:732</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a48e693571ddc346ae7fae88fe7902932"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a48e693571ddc346ae7fae88fe7902932">fmt::v5::float_spec_handler::type</a></div><div class="ttdeci">char type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02659">format.h:2659</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_adacdaff3cef2aca38eb851d4b2f38cac"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#adacdaff3cef2aca38eb851d4b2f38cac">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::operator++</a></div><div class="ttdeci">truncating_iterator &amp; operator++()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00718">format.h:718</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a9722e33a6fdfb563b8db59829f133711"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9722e33a6fdfb563b8db59829f133711">fmt::v5::internal::truncating_iterator_base::truncating_iterator_base</a></div><div class="ttdeci">truncating_iterator_base(OutputIt out, std::size_t limit)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00653">format.h:653</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_a8e9c7bb30c9a44f86aaabd956358452b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a8e9c7bb30c9a44f86aaabd956358452b">fmt::v5::internal::specs_checker::on_minus</a></div><div class="ttdeci">void on_minus()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01610">format.h:1610</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a02f2dcb84c84e7b7050cb380ca53f37b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a02f2dcb84c84e7b7050cb380ca53f37b">fmt::v5::internal::specs_setter::on_hash</a></div><div class="ttdeci">void on_hash()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01567">format.h:1567</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13ae7a9e0deca92ad9278f3def34dafd2c8"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13ae7a9e0deca92ad9278f3def34dafd2c8">fmt::v5::internal::long_long_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_ad86ceb430a696429d7d9ccb2e295f725"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#ad86ceb430a696429d7d9ccb2e295f725">fmt::v5::internal::dynamic_specs_handler::on_dynamic_width</a></div><div class="ttdeci">void on_dynamic_width(Id arg_id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01755">format.h:1755</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4_html_a5f21fb8af92548caefb494b1e49814b6"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5f21fb8af92548caefb494b1e49814b6">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::false_type &gt;::value_type</a></div><div class="ttdeci">traits::value_type value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00681">format.h:681</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__context_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__context.html">fmt::v5::basic_format_context</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01081">core.h:1081</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a46caff7956407a227b4b553312f695ed"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a46caff7956407a227b4b553312f695ed">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(wchar_t value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02612">format.h:2612</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1void___html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1void__.html">fmt::v5::internal::void_</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03270">format.h:3270</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html">fmt::v5::internal::truncating_iterator_base</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00647">format.h:647</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a0fb9344a00e79ad8826591da20548963"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a0fb9344a00e79ad8826591da20548963">fmt::v5::internal::make_checked</a></div><div class="ttdeci">T * make_checked(T *p, std::size_t)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00389">format.h:389</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a1f09a08ddcb054ae0d7dec1e8183ec9a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a1f09a08ddcb054ae0d7dec1e8183ec9a">fmt::v5::internal::arg_formatter_base::arg_formatter_base</a></div><div class="ttdeci">arg_formatter_base(Range r, format_specs *s, locale_ref loc)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01359">format.h:1359</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_a6259e777a6b575e11c682d91d0be83ab"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a6259e777a6b575e11c682d91d0be83ab">fmt::v5::internal::float_type_checker::on_error</a></div><div class="ttdeci">void on_error()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01242">format.h:1242</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a3e0d5b65fb0f03b9d75a8210ff3ffcd1"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a3e0d5b65fb0f03b9d75a8210ff3ffcd1">fmt::v5::internal::thousands_sep</a></div><div class="ttdeci">wchar_t thousands_sep(locale_ref loc)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00950">format.h:950</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a113eb41a02e482540b90183e4ad7ca27"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a113eb41a02e482540b90183e4ad7ca27">fmt::v5::internal::parse_format_string</a></div><div class="ttdeci">void parse_format_string(basic_string_view&lt; Char &gt; format_str, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01999">format.h:1999</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_acaa35156940a604c1914ca43ecf78744"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#acaa35156940a604c1914ca43ecf78744">fmt::v5::align_spec::align</a></div><div class="ttdeci">alignment align() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01097">format.h:1097</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_ab290639836614e4190a3ae226883ce41"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#ab290639836614e4190a3ae226883ce41">fmt::v5::internal::basic_buffer::capacity</a></div><div class="ttdeci">std::size_t capacity() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00253">core.h:253</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1width__checker_html_a63630366e25e4dec187bc186976bf0d3"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a63630366e25e4dec187bc186976bf0d3">fmt::v5::internal::width_checker::width_checker</a></div><div class="ttdeci">width_checker(ErrorHandler &amp;eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01507">format.h:1507</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1is__contiguous_html"><div class="ttname"><a href="structfmt_1_1v5_1_1is__contiguous.html">fmt::v5::is_contiguous</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01405">core.h:1405</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a87b5f008bb29a796ac4476c697ee0e25"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a87b5f008bb29a796ac4476c697ee0e25">fmt::v5::basic_writer::write</a></div><div class="ttdeci">std::enable_if&lt; std::is_integral&lt; T &gt;::value, void &gt;::type write(T value, FormatSpec spec, FormatSpecs...specs)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02588">format.h:2588</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a3017f14a9d0c5b1d84d2929e3aef1735"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a3017f14a9d0c5b1d84d2929e3aef1735">fmt::v5::float_spec_handler::upper</a></div><div class="ttdeci">bool upper</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02660">format.h:2660</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1arg__join_html_aea138338c02d417a0633ecebd019e890"><div class="ttname"><a href="structfmt_1_1v5_1_1arg__join.html#aea138338c02d417a0633ecebd019e890">fmt::v5::arg_join::end</a></div><div class="ttdeci">It end</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03143">format.h:3143</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a9310b701f90ea156eb6abd7aa4f199cb"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a9310b701f90ea156eb6abd7aa4f199cb">fmt::v5::internal::is_integral</a></div><div class="ttdeci">bool is_integral(type t)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00540">core.h:540</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a7518865de3941e306dac2a805675b475"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a7518865de3941e306dac2a805675b475">fmt::v5::basic_writer::out</a></div><div class="ttdeci">iterator out() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02571">format.h:2571</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html_a281a7335138c4e7a2bb5f9c7456659e8"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a281a7335138c4e7a2bb5f9c7456659e8">fmt::v5::internal::id_adapter::operator()</a></div><div class="ttdeci">void operator()(basic_string_view&lt; Char &gt; id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01989">format.h:1989</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html">fmt::v5::core_format_specs</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01100">format.h:1100</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter_html_a1a6a63018f8b53729b183608f4baa79a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#a1a6a63018f8b53729b183608f4baa79a">fmt::v5::internal::decimal_formatter::on</a></div><div class="ttdeci">char * on(uint32_t u)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00858">format.h:858</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aa163dc10b3f54b87b9f71c768b08250f"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aa163dc10b3f54b87b9f71c768b08250f">fmt::v5::internal::parse_nonnegative_int</a></div><div class="ttdeci">unsigned parse_nonnegative_int(const Char *&amp;begin, const Char *end, ErrorHandler &amp;&amp;eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01454">format.h:1454</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a51100408c41b02a57706c9056f49f68a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a51100408c41b02a57706c9056f49f68a">fmt::v5::internal::counting_iterator::count</a></div><div class="ttdeci">std::size_t count() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00630">format.h:630</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1precision__checker_html_ad03d296cfbb86da629a4d0a2ab7abdd8"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#ad03d296cfbb86da629a4d0a2ab7abdd8">fmt::v5::internal::precision_checker::precision_checker</a></div><div class="ttdeci">precision_checker(ErrorHandler &amp;eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01532">format.h:1532</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a340304e36817771dec9551579579cb71"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a340304e36817771dec9551579579cb71">fmt::v5::internal::handle_cstring_type_spec</a></div><div class="ttdeci">void handle_cstring_type_spec(Char spec, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01194">format.h:1194</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html">fmt::v5::basic_memory_buffer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00464">format.h:464</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a76566374391410329d8c41e612b24101"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a76566374391410329d8c41e612b24101">fmt::v5::internal::isnan</a></div><div class="ttdeci">dummy_int isnan(...)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00278">format.h:278</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html">fmt::v5::internal::width_adapter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01811">format.h:1811</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_abdcd50b6b81f5f0071482f01b4f19945"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#abdcd50b6b81f5f0071482f01b4f19945">fmt::v5::internal::arg_formatter_base::write</a></div><div class="ttdeci">void write(bool value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01345">format.h:1345</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1no__thousands__sep_html_ab9fe0f0042a2d6a65a907a58a2a387b2"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ab9fe0f0042a2d6a65a907a58a2a387b2">fmt::v5::internal::no_thousands_sep::operator()</a></div><div class="ttdeci">void operator()(Char *)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00910">format.h:910</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html_ae8225c1b5ab54383472fed40c9ccf4b6"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html#ae8225c1b5ab54383472fed40c9ccf4b6">fmt::v5::core_format_specs::type</a></div><div class="ttdeci">char type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01103">format.h:1103</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aee0ff53560cd7c3f16500a4cdbf3655e"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aee0ff53560cd7c3f16500a4cdbf3655e">fmt::v5::internal::bit_cast</a></div><div class="ttdeci">Dest bit_cast(const Source &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00242">format.h:242</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_a0006985aadbde8a6ac0234965afac80c"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a0006985aadbde8a6ac0234965afac80c">fmt::v5::internal::int_type_checker::on_error</a></div><div class="ttdeci">void on_error()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01226">format.h:1226</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a612441ca8e1a7a5f773ee3d616d9d62c"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">fmt::v5::internal::write</a></div><div class="ttdeci">void write(std::basic_ostream&lt; Char &gt; &amp;os, basic_buffer&lt; Char &gt; &amp;buf)</div><div class="ttdef"><b>Definition:</b> <a href="ostream_8h_source.html#l00076">ostream.h:76</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_a9f01a25ee05b646d7e328037d5d626a8"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#a9f01a25ee05b646d7e328037d5d626a8">fmt::v5::format_int::c_str</a></div><div class="ttdeci">const char * c_str() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02876">format.h:2876</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1add__thousands__sep_html_a2b67cdb6e9828877661e6fd9348206f3"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a2b67cdb6e9828877661e6fd9348206f3">fmt::v5::internal::add_thousands_sep::operator()</a></div><div class="ttdeci">void operator()(Char *&amp;buffer)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00930">format.h:930</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_a249a93159605bb04c62fdfbd27d31547"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a249a93159605bb04c62fdfbd27d31547">fmt::v5::internal::int_type_checker::on_dec</a></div><div class="ttdeci">void on_dec()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01220">format.h:1220</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__arg__store_html"><div class="ttname"><a href="classfmt_1_1v5_1_1format__arg__store.html">fmt::v5::format_arg_store</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01140">core.h:1140</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a9b0fdd9f2efbd8d05a5184bf12b375fe"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a9b0fdd9f2efbd8d05a5184bf12b375fe">fmt::v5::internal::truncating_iterator_base::difference_type</a></div><div class="ttdeci">void difference_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00658">format.h:658</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_aa9a5f9e678e19930ede5a1dfad1ebe93"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#aa9a5f9e678e19930ede5a1dfad1ebe93">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(unsigned value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02577">format.h:2577</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a9d2f0224d9f4a23484dc28c67ac81f13"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a9d2f0224d9f4a23484dc28c67ac81f13">fmt::v5::internal::counting_iterator::counting_iterator</a></div><div class="ttdeci">counting_iterator()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00628">format.h:628</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter_html_ae9628f9ead0c072984e75532438c0182"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html#ae9628f9ead0c072984e75532438c0182">fmt::v5::internal::decimal_formatter::decimal_formatter</a></div><div class="ttdeci">decimal_formatter(char *buf)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00856">format.h:856</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1arg__join_html"><div class="ttname"><a href="structfmt_1_1v5_1_1arg__join.html">fmt::v5::arg_join</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03141">format.h:3141</a></div></div>
<div class="ttc" id="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4_html_ab87acbb0e3b785468702511d2ba20c43"><div class="ttname"><a href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#ab87acbb0e3b785468702511d2ba20c43">std::numeric_limits&lt; fmt::internal::dummy_int &gt;::isinfinity</a></div><div class="ttdeci">static bool isinfinity(T x)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00308">format.h:308</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a968d531596194200346fda2e3211e3c8"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a968d531596194200346fda2e3211e3c8">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(unsigned long long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02579">format.h:2579</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__arg_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__arg.html">fmt::v5::basic_format_arg</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00484">core.h:484</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a8766cc653a2cb47cefc94592e5125239"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a8766cc653a2cb47cefc94592e5125239">fmt::v5::internal::_isnan</a></div><div class="ttdeci">dummy_int _isnan(...)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00279">format.h:279</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__args_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__args.html">fmt::v5::format_to_n_args</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03363">format.h:3363</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html_a9ee2328a2106f91620d78431401d19ae"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a9ee2328a2106f91620d78431401d19ae">fmt::v5::internal::arg_formatter_base::char_spec_handler::char_spec_handler</a></div><div class="ttdeci">char_spec_handler(arg_formatter_base &amp;f, char_type val)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01397">format.h:1397</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__args__t_html_aa4f31b5332a6cdd12d1b7a7e766770dd"><div class="ttname"><a href="structfmt_1_1v5_1_1format__args__t.html#aa4f31b5332a6cdd12d1b7a7e766770dd">fmt::v5::format_args_t::type</a></div><div class="ttdeci">basic_format_args&lt; typename format_context_t&lt; OutputIt, Char &gt;::type &gt; type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03314">format.h:3314</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a7e8848d8bfb01b809c74e65788a197ca"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a7e8848d8bfb01b809c74e65788a197ca">fmt::v5::internal::arg_formatter_base::write</a></div><div class="ttdeci">void write(const char_type *value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01350">format.h:1350</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890"><div class="ttname"><a href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaadd34df58da973a9740e39d7b83e7b890">fmt::v5::SIGN_FLAG</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01084">format.h:1084</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_a4c07c24b79fc7d8510b29598e7cc7c51"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#a4c07c24b79fc7d8510b29598e7cc7c51">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(long long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02856">format.h:2856</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_affb43cc051a4c3adef65ef36096724dc"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#affb43cc051a4c3adef65ef36096724dc">fmt::v5::internal::counting_iterator::iterator_category</a></div><div class="ttdeci">std::output_iterator_tag iterator_category</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00621">format.h:621</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html">fmt::v5::internal::int_type_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01216">format.h:1216</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aa1fa61dacd2056cf7bbc9010b6c3e9ff"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aa1fa61dacd2056cf7bbc9010b6c3e9ff">fmt::v5::internal::allocate</a></div><div class="ttdeci">Allocator::value_type * allocate(Allocator &amp;alloc, std::size_t n)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00282">format.h:282</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1precision__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1precision__checker.html">fmt::v5::internal::precision_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01530">format.h:1530</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a53dd0b9003b32d9c4c07d008b8a1bebf"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a53dd0b9003b32d9c4c07d008b8a1bebf">fmt::v5::internal::lg</a></div><div class="ttdeci">char * lg(uint32_t n, Handler h)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00832">format.h:832</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13aecccd88040ba51af7e74784567384260"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aecccd88040ba51af7e74784567384260">fmt::v5::internal::bool_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1auto__id_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1auto__id.html">fmt::v5::internal::auto_id</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01663">format.h:1663</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a13f8c5691061c696945f38159080fe2e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a13f8c5691061c696945f38159080fe2e">fmt::v5::internal::counting_iterator::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00622">format.h:622</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html">fmt::v5::internal::arg_formatter_base::char_spec_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01393">format.h:1393</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1no__thousands__sep_html_ad1e7da945143945bd5cd6934620331d9"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html#ad1e7da945143945bd5cd6934620331d9">fmt::v5::internal::no_thousands_sep::char_type</a></div><div class="ttdeci">char char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00907">format.h:907</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13ae9e4c238a7992d284d52befd618886ef"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13ae9e4c238a7992d284d52befd618886ef">fmt::v5::internal::long_double_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00536">core.h:536</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a1a5c67ffa1e2120fbbb6ce62dd2b0c61"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1a5c67ffa1e2120fbbb6ce62dd2b0c61">fmt::v5::internal::specs_setter::on_align</a></div><div class="ttdeci">void on_align(alignment align)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01562">format.h:1562</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_a0925c1315a81b793b5e020e496c9234c"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#a0925c1315a81b793b5e020e496c9234c">fmt::v5::arg_formatter::arg_formatter</a></div><div class="ttdeci">arg_formatter(context_type &amp;ctx, format_specs *spec=NULL)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02178">format.h:2178</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_a3b64e9078c79528825385b55cbf1e34c"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3b64e9078c79528825385b55cbf1e34c">fmt::v5::internal::width_adapter::operator()</a></div><div class="ttdeci">void operator()(basic_string_view&lt; Char &gt; id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01816">format.h:1816</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1system__error_html"><div class="ttname"><a href="classfmt_1_1v5_1_1system__error.html">fmt::v5::system_error</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02198">format.h:2198</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a415ee68e15aa5943d16bcc24fecc5596"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a415ee68e15aa5943d16bcc24fecc5596">fmt::v5::internal::specs_setter::on_space</a></div><div class="ttdeci">void on_space()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01566">format.h:1566</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_af1785abde70457e336e28c9e3640e155"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#af1785abde70457e336e28c9e3640e155">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::value_type</a></div><div class="ttdeci">OutputIt::container_type::value_type value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00707">format.h:707</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1dummy__int_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1dummy__int.html">fmt::v5::internal::dummy_int</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00268">format.h:268</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4_html_a3e3eaa69e1f7a8302cc9be5f0ce76a98"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a3e3eaa69e1f7a8302cc9be5f0ce76a98">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::false_type &gt;::operator++</a></div><div class="ttdeci">truncating_iterator &amp; operator++()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00686">format.h:686</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1cstring__type__checker_html_a56ab12958652d01caad11b75747d05d8"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a56ab12958652d01caad11b75747d05d8">fmt::v5::internal::cstring_type_checker::on_pointer</a></div><div class="ttdeci">void on_pointer()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01269">format.h:1269</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a2b226f9d7fca502facb0b9c0f6eb7919"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a2b226f9d7fca502facb0b9c0f6eb7919">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(long long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02575">format.h:2575</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a48d02275b9e72a672b92ea3e7acfd656"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a48d02275b9e72a672b92ea3e7acfd656">fmt::v5::internal::grisu2_format</a></div><div class="ttdeci">std::enable_if&lt; sizeof(Double)!=sizeof(uint64_t), bool &gt;::type grisu2_format(Double, buffer &amp;, core_format_specs)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01134">format.h:1134</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_a506047c25d9e5272850b4efe1b2fba69af74dc3a4fdb7441bc5d0a3885e6b22b4"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a506047c25d9e5272850b4efe1b2fba69af74dc3a4fdb7441bc5d0a3885e6b22b4">fmt::v5::internal::arg_ref::NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01708">format.h:1708</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_affe641b73605f9fe7f05c63f375fa8ae"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#affe641b73605f9fe7f05c63f375fa8ae">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(unsigned long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02578">format.h:2578</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_a137e3161cc2723cb0b0ec2561f879348"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#a137e3161cc2723cb0b0ec2561f879348">fmt::v5::basic_memory_buffer::const_reference</a></div><div class="ttdeci">const T &amp; const_reference</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00479">format.h:479</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_a13ed97c71cee805fc3548feea42db5a5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a13ed97c71cee805fc3548feea42db5a5">fmt::v5::internal::int_type_checker::on_hex</a></div><div class="ttdeci">void on_hex()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01221">format.h:1221</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1void___html_a574c59a1964f87565829257845c51023"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1void__.html#a574c59a1964f87565829257845c51023">fmt::v5::internal::void_::type</a></div><div class="ttdeci">void type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03270">format.h:3270</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_a8b3e12db766aecc5de0a75285bbb2311"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#a8b3e12db766aecc5de0a75285bbb2311">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(unsigned value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02857">format.h:2857</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1is__string_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1is__string.html">fmt::v5::internal::is_string</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00515">core.h:515</a></div></div>
<div class="ttc" id="core_8h_html"><div class="ttname"><a href="core_8h.html">core.h</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__format__specs_html"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__format__specs.html">fmt::v5::basic_format_specs</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01111">format.h:1111</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_a428b2cb22f69719987193e9b49f4bf9d"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#a428b2cb22f69719987193e9b49f4bf9d">fmt::v5::internal::precision_adapter::operator()</a></div><div class="ttdeci">void operator()()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01832">format.h:1832</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1char__specs__checker_html_a6f720937604863fca737c9f48c7bbef5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a6f720937604863fca737c9f48c7bbef5">fmt::v5::internal::char_specs_checker::char_specs_checker</a></div><div class="ttdeci">char_specs_checker(char type, ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01253">format.h:1253</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a6d2eb5ad9f38abcc532e048b92070942"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a6d2eb5ad9f38abcc532e048b92070942">fmt::v5::internal::end</a></div><div class="ttdeci">T * end(T(&amp;array)[N])</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00259">format.h:259</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1custom__formatter_html_ac2612121f51ea49d01b48a368899cbe9"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ac2612121f51ea49d01b48a368899cbe9">fmt::v5::internal::custom_formatter::custom_formatter</a></div><div class="ttdeci">custom_formatter(Context &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01485">format.h:1485</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html">fmt::v5::internal::specs_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01667">format.h:1667</a></div></div>
<div class="ttc" id="format_8h_html_a701339e31b08c541a11ed944cc20b856"><div class="ttname"><a href="format_8h.html#a701339e31b08c541a11ed944cc20b856">FMT_ALWAYS_INLINE</a></div><div class="ttdeci">#define FMT_ALWAYS_INLINE</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00824">format.h:824</a></div></div>
<div class="ttc" id="core_8h_html_af4388801466a5994a363d6005616371a"><div class="ttname"><a href="core_8h.html#af4388801466a5994a363d6005616371a">FMT_CONSTEXPR_DECL</a></div><div class="ttdeci">#define FMT_CONSTEXPR_DECL</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00070">core.h:70</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_a38d3e72fdf277b4f7d431e83e96c943e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a38d3e72fdf277b4f7d431e83e96c943e">fmt::v5::internal::int_type_checker::on_num</a></div><div class="ttdeci">void on_num()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01224">format.h:1224</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer_html"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html">fmt::v5::basic_writer::int_writer::hex_writer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02415">format.h:2415</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a8d6d08e76d5ee6a3289c5e010e6db950"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a8d6d08e76d5ee6a3289c5e010e6db950">fmt::v5::internal::const_check</a></div><div class="ttdeci">T const_check(T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00293">format.h:293</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00297">format.h:297</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a3ef982cd96cf71b5fa7c37269012dafd"><div class="ttname"><a href="namespacefmt_1_1v5.html#a3ef982cd96cf71b5fa7c37269012dafd">fmt::v5::arg</a></div><div class="ttdeci">internal::named_arg&lt; T, char &gt; arg(string_view name, const T &amp;arg)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01391">core.h:1391</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_afa76923c1c5c5315391d2fd5888cea92"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#afa76923c1c5c5315391d2fd5888cea92">fmt::v5::internal::specs_checker::specs_checker</a></div><div class="ttdeci">specs_checker(const Handler &amp;handler, internal::type arg_type)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01593">format.h:1593</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_af45f0577c38773dae862118b947fd671"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#af45f0577c38773dae862118b947fd671">fmt::v5::format_handler::on_arg_id</a></div><div class="ttdeci">void on_arg_id()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03084">format.h:3084</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1custom__formatter_html_ae8293ea06db4fe475366e6f70811e486"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#ae8293ea06db4fe475366e6f70811e486">fmt::v5::internal::custom_formatter::operator()</a></div><div class="ttdeci">bool operator()(T) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01493">format.h:1493</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aed78230de71427c867d6d49cdf397681"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aed78230de71427c867d6d49cdf397681">fmt::v5::internal::handle_float_type_spec</a></div><div class="ttdeci">void handle_float_type_spec(char spec, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01163">format.h:1163</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_a74632126deecb543f2e2d08ad0d52d1c"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#a74632126deecb543f2e2d08ad0d52d1c">fmt::v5::align_spec::align_spec</a></div><div class="ttdeci">align_spec()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01094">format.h:1094</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_ac77932fff8ec776f47d747a5393239b1"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#ac77932fff8ec776f47d747a5393239b1">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(basic_string_view&lt; Char &gt; s, const format_specs &amp;spec=format_specs())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02639">format.h:2639</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_acdc7af3b0c98da49b1d8200d8a9c23ff"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#acdc7af3b0c98da49b1d8200d8a9c23ff">fmt::v5::internal::arg_ref::arg_ref</a></div><div class="ttdeci">arg_ref()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01710">format.h:1710</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13aee2e9fd562a7d50e7e47e5f82188d4d5"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aee2e9fd562a7d50e7e47e5f82188d4d5">fmt::v5::internal::int_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_ac7badcecfcb9d58db73d06eee0888fbe"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#ac7badcecfcb9d58db73d06eee0888fbe">fmt::v5::align_spec::fill_</a></div><div class="ttdeci">wchar_t fill_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01091">format.h:1091</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__context__t_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__context__t.html">fmt::v5::format_context_t</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03308">format.h:3308</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_a524519bc859077ddaa45e229adafddcf"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a524519bc859077ddaa45e229adafddcf">fmt::v5::internal::width_adapter::handler</a></div><div class="ttdeci">SpecHandler &amp; handler</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01824">format.h:1824</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_aa5e2b37a4b3cafed33be6fcc69bb8d98"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa5e2b37a4b3cafed33be6fcc69bb8d98">fmt::v5::internal::precision_adapter::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01840">format.h:1840</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1formatter_html"><div class="ttname"><a href="structfmt_1_1v5_1_1formatter.html">fmt::v5::formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00491">core.h:491</a></div></div>
<div class="ttc" id="format-inl_8h_html"><div class="ttname"><a href="format-inl_8h.html">format-inl.h</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_ad2e95af5d37c6f9d3e996085c978cad2"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#ad2e95af5d37c6f9d3e996085c978cad2">fmt::v5::format_handler::on_replacement_field</a></div><div class="ttdeci">void on_replacement_field(const Char *p)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03093">format.h:3093</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html">fmt::v5::internal::format_string_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02060">format.h:2060</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html">fmt::v5::internal::float_type_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01232">format.h:1232</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_a332fb38fd91d73717f0f3e0b2b09d3b7"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#a332fb38fd91d73717f0f3e0b2b09d3b7">fmt::v5::arg_formatter::range</a></div><div class="ttdeci">Range range</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02167">format.h:2167</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html_a071bc1ed2aaa59cfbfccefb11d0f0cc4"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a071bc1ed2aaa59cfbfccefb11d0f0cc4">fmt::v5::internal::id_adapter::handler</a></div><div class="ttdeci">Handler &amp; handler</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01995">format.h:1995</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1is__integer_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1is__integer.html">fmt::v5::internal::is_integer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01497">format.h:1497</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a24832c279c6143d905912d3181872f44"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a24832c279c6143d905912d3181872f44">fmt::v5::internal::truncating_iterator_base::limit_</a></div><div class="ttdeci">std::size_t limit_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00650">format.h:650</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a0ea486bdd96af45e228fa60a3ca90c6e"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a0ea486bdd96af45e228fa60a3ca90c6e">fmt::v5::internal::get_container</a></div><div class="ttdeci">Container &amp; get_container(std::back_insert_iterator&lt; Container &gt; it)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00313">core.h:313</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_ad5e116609d012ecd0316ec8fb70b06f9"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ad5e116609d012ecd0316ec8fb70b06f9">fmt::v5::internal::counting_iterator::operator*</a></div><div class="ttdeci">T &amp; operator*() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00643">format.h:643</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_a548e6a06b4a2d1af66f4acfe575e2a76"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a548e6a06b4a2d1af66f4acfe575e2a76">fmt::v5::internal::specs_checker::on_zero</a></div><div class="ttdeci">void on_zero()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01625">format.h:1625</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aede03e1a36d834c65a48c9349a085fc8"><div class="ttname"><a href="namespacefmt_1_1v5.html#aede03e1a36d834c65a48c9349a085fc8">fmt::v5::report_system_error</a></div><div class="ttdeci">void report_system_error(int error_code, fmt::string_view message)</div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00933">format-inl.h:933</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a8ae25aadcb11be0f632537d24bc3ba37"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8ae25aadcb11be0f632537d24bc3ba37">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">iterator operator()(monostate)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01362">format.h:1362</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_ae4d5b07a56c8bf5085623444a9ab347e"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#ae4d5b07a56c8bf5085623444a9ab347e">fmt::v5::align_spec::fill</a></div><div class="ttdeci">wchar_t fill() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01096">format.h:1096</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html_a64e5a16f6183b57476f9e15af2aaf866"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a64e5a16f6183b57476f9e15af2aaf866">fmt::v5::internal::id_adapter::operator()</a></div><div class="ttdeci">void operator()(unsigned id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01988">format.h:1988</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1null__terminating__iterator_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1null__terminating__iterator.html">fmt::v5::internal::null_terminating_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00607">format.h:607</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__map_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__map.html">fmt::v5::internal::arg_map</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00773">core.h:773</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_aa891dd373534efdbf8a03c9b1b5a77fa"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#aa891dd373534efdbf8a03c9b1b5a77fa">fmt::v5::internal::truncating_iterator_base::reference</a></div><div class="ttdeci">void reference</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00660">format.h:660</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1width__checker_html_a69ee4d46cb35d94fdc14aeb469781957"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1width__checker.html#a69ee4d46cb35d94fdc14aeb469781957">fmt::v5::internal::width_checker::operator()</a></div><div class="ttdeci">std::enable_if&lt; is_integer&lt; T &gt;::value, unsigned long long &gt;::type operator()(T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01512">format.h:1512</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_a9135efbc2c3a9c304e49eb092c85131d"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9135efbc2c3a9c304e49eb092c85131d">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::operator=</a></div><div class="ttdeci">truncating_iterator &amp; operator=(value_type val)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00712">format.h:712</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html">fmt::v5::internal::dynamic_specs_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01741">format.h:1741</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html_ae84a96563d3159d5749665b00f000758"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#ae84a96563d3159d5749665b00f000758">fmt::v5::internal::id_adapter::operator()</a></div><div class="ttdeci">void operator()()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01987">format.h:1987</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_aa75eaaeb64951f8fa9e5480e4fa50c6f"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#aa75eaaeb64951f8fa9e5480e4fa50c6f">fmt::v5::internal::int_type_checker::int_type_checker</a></div><div class="ttdeci">int_type_checker(ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01218">format.h:1218</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a21d719b2dfe968433047cb65d91f1bc5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a21d719b2dfe968433047cb65d91f1bc5">fmt::v5::internal::specs_setter::specs_setter</a></div><div class="ttdeci">specs_setter(basic_format_specs&lt; Char &gt; &amp;specs)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01557">format.h:1557</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html_aa48913a1f52a97dbba8436cd493810db"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#aa48913a1f52a97dbba8436cd493810db">fmt::v5::internal::arg_formatter_base::char_spec_handler::on_int</a></div><div class="ttdeci">void on_int()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01400">format.h:1400</a></div></div>
<div class="ttc" id="core_8h_html_ae0d2fbdf031547a949fc7e1c0b3c97f1"><div class="ttname"><a href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="ttdeci">#define FMT_END_NAMESPACE</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00153">core.h:153</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_aa8f05ebfb4d08764760e94b3ed9d89c3"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aa8f05ebfb4d08764760e94b3ed9d89c3">fmt::v5::internal::specs_checker::on_plus</a></div><div class="ttdeci">void on_plus()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01605">format.h:1605</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a5b9fc2504a981744ae35cf292930b4a6"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a5b9fc2504a981744ae35cf292930b4a6">fmt::v5::internal::find&lt; false, char &gt;</a></div><div class="ttdeci">bool find&lt; false, char &gt;(const char *first, const char *last, char value, const char *&amp;out)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01979">format.h:1979</a></div></div>
<div class="ttc" id="format_8h_html_ad9e2ed6d3b432a04c9622c34a2495304"><div class="ttname"><a href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a></div><div class="ttdeci">#define FMT_THROW(x)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00115">format.h:115</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a7ac857188cb657852d3dd2fcb223a331"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a7ac857188cb657852d3dd2fcb223a331">fmt::v5::internal::parse_width</a></div><div class="ttdeci">const Char * parse_width(const Char *begin, const Char *end, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01884">format.h:1884</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_ae0812a3e1c2651b160e6a4a617fde5c3"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ae0812a3e1c2651b160e6a4a617fde5c3">fmt::v5::internal::counting_iterator::difference_type</a></div><div class="ttdeci">std::ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00623">format.h:623</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1char__traits_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1char__traits.html">fmt::v5::internal::char_traits</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00559">format.h:559</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5_html_a6a4b8134330ce67c7c9e8e7db077b334"><div class="ttname"><a href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a6a4b8134330ce67c7c9e8e7db077b334">fmt::v5::formatter&lt; T, Char, typename std::enable_if&lt; internal::format_type&lt; typename buffer_context&lt; Char &gt;::type, T &gt;::value &gt;::type &gt;::parse</a></div><div class="ttdeci">ParseContext::iterator parse(ParseContext &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02927">format.h:2927</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_ab1a460c21832fbe87d5b3d9bf877d696"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#ab1a460c21832fbe87d5b3d9bf877d696">fmt::v5::align_spec::width</a></div><div class="ttdeci">unsigned width() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01095">format.h:1095</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer_html_aa24440fe129d052f4a8a628675d437c9"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#aa24440fe129d052f4a8a628675d437c9">fmt::v5::basic_writer::int_writer::bin_writer::abs_value</a></div><div class="ttdeci">unsigned_type abs_value</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02438">format.h:2438</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__arg_html_afade51f5b95d78390fd09449a4a1ddf3"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__arg.html#afade51f5b95d78390fd09449a4a1ddf3">fmt::v5::basic_format_arg::type</a></div><div class="ttdeci">internal::type type() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00814">core.h:814</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1is__output__iterator_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1is__output__iterator.html">fmt::v5::internal::is_output_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03285">format.h:3285</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a4df1425f61a6677296a1d61cb29dd2cc"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a4df1425f61a6677296a1d61cb29dd2cc">fmt::v5::internal::parse_format_specs</a></div><div class="ttdeci">const ParseContext::char_type * parse_format_specs(ParseContext &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02053">format.h:2053</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a65f234c9d1b66d591d838e56cfd53f5b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">fmt::v5::internal::basic_buffer::size</a></div><div class="ttdeci">std::size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00250">core.h:250</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_a3f0b73ae2cec14566f76d0f5977dc32c"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3f0b73ae2cec14566f76d0f5977dc32c">fmt::v5::internal::width_adapter::operator()</a></div><div class="ttdeci">void operator()()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01814">format.h:1814</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1cstring__type__checker_html_acef9add1fb34d2d175a1dd92afdfe1e5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#acef9add1fb34d2d175a1dd92afdfe1e5">fmt::v5::internal::cstring_type_checker::on_string</a></div><div class="ttdeci">void on_string()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01268">format.h:1268</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__result_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__result.html">fmt::v5::format_to_n_result</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03351">format.h:3351</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_af040082b7ccbdc2929c4f0c28aebd744"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#af040082b7ccbdc2929c4f0c28aebd744">fmt::v5::internal::specs_setter::end_precision</a></div><div class="ttdeci">void end_precision()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01578">format.h:1578</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_a4c02b24faa406024deeccaa6aa016096"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a4c02b24faa406024deeccaa6aa016096">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::operator*</a></div><div class="ttdeci">truncating_iterator &amp; operator*()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00720">format.h:720</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a384f1304da6ce18c4713368327354479"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a384f1304da6ce18c4713368327354479">fmt::v5::internal::basic_buffer::data</a></div><div class="ttdeci">T * data()</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00256">core.h:256</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f_html_a40cd1ec991c81ebc79830a3e94f1f0d0"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_00_01typename_01void___3_01typename_01_t_1_1id61388ae7521fb5f9bdb01fd14083b7f.html#a40cd1ec991c81ebc79830a3e94f1f0d0">fmt::v5::internal::it_category&lt; T, typename void_&lt; typename T::iterator_category &gt;::type &gt;::type</a></div><div class="ttdeci">T::iterator_category type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03280">format.h:3280</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a07ebb1da97cc649df20f1f8c6f03e465"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a07ebb1da97cc649df20f1f8c6f03e465">fmt::v5::internal::counting_iterator::pointer</a></div><div class="ttdeci">T * pointer</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00624">format.h:624</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a47c600fba7735d313592f3cbf97c5fe8"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a47c600fba7735d313592f3cbf97c5fe8">fmt::v5::float_spec_handler::on_hex</a></div><div class="ttdeci">void on_hex()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02686">format.h:2686</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator.html">fmt::v5::internal::truncating_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00671">format.h:671</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__args_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__args.html">fmt::v5::format_args</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01294">core.h:1294</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__result_html_a03f23327f9690a2407193ad112a1b65d"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__result.html#a03f23327f9690a2407193ad112a1b65d">fmt::v5::format_to_n_result::out</a></div><div class="ttdeci">OutputIt out</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03353">format.h:3353</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_a76c07cc9b08a444f3587b3382250107e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a76c07cc9b08a444f3587b3382250107e">fmt::v5::internal::format_string_checker::on_replacement_field</a></div><div class="ttdeci">void on_replacement_field(const Char *)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02080">format.h:2080</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_ad0ee54da443751f74466a16b033ab9f6"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#ad0ee54da443751f74466a16b033ab9f6">fmt::v5::basic_writer::char_type</a></div><div class="ttdeci">Range::value_type char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02261">format.h:2261</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_01_5_01_4_html_a76ab7e80d700bce301256059f7a38489"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1it__category_3_01_t_01_5_01_4.html#a76ab7e80d700bce301256059f7a38489">fmt::v5::internal::it_category&lt; T * &gt;::type</a></div><div class="ttdeci">std::random_access_iterator_tag type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03276">format.h:3276</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html">fmt::v5::internal::precision_adapter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01829">format.h:1829</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aa9bd093b16b2a8d6e0e833a5db959631"><div class="ttname"><a href="namespacefmt_1_1v5.html#aa9bd093b16b2a8d6e0e833a5db959631">fmt::v5::formatted_size</a></div><div class="ttdeci">std::size_t formatted_size(string_view format_str, const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03423">format.h:3423</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4_html_a5a99af3c33a7e15fcaa77a387a70c4f7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#a5a99af3c33a7e15fcaa77a387a70c4f7">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::false_type &gt;::truncating_iterator</a></div><div class="ttdeci">truncating_iterator(OutputIt out, std::size_t limit)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00683">format.h:683</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html_ab634b0a93a600c943d708af3ba46805e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#ab634b0a93a600c943d708af3ba46805e">fmt::v5::internal::specs_handler::char_type</a></div><div class="ttdeci">Context::char_type char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01669">format.h:1669</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1char__specs__checker_html_a66e7f01c770f2002fe729864e0e85d7e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#a66e7f01c770f2002fe729864e0e85d7e">fmt::v5::internal::char_specs_checker::on_char</a></div><div class="ttdeci">void on_char()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01259">format.h:1259</a></div></div>
<div class="ttc" id="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4_html_a66bfe9a9db1167477806c1973002e941"><div class="ttname"><a href="classstd_1_1numeric__limits_3_01fmt_1_1internal_1_1dummy__int_01_4.html#a66bfe9a9db1167477806c1973002e941">std::numeric_limits&lt; fmt::internal::dummy_int &gt;::isnotanumber</a></div><div class="ttdeci">static bool isnotanumber(T x)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00319">format.h:319</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1custom__formatter_html_a0cc11bc1184cb874fc3ca5567a3f41af"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html#a0cc11bc1184cb874fc3ca5567a3f41af">fmt::v5::internal::custom_formatter::operator()</a></div><div class="ttdeci">bool operator()(typename basic_format_arg&lt; Context &gt;::handle h) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01487">format.h:1487</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aee7e37f3db0fc1ce34674f6b82c1f407"><div class="ttname"><a href="namespacefmt_1_1v5.html#aee7e37f3db0fc1ce34674f6b82c1f407">fmt::v5::wmemory_buffer</a></div><div class="ttdeci">basic_memory_buffer&lt; wchar_t &gt; wmemory_buffer</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00554">format.h:554</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1get__type_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1get__type.html">fmt::v5::internal::get_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01044">core.h:1044</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a37de00647fc1e0345f485313cdd522f7"><div class="ttname"><a href="namespacefmt_1_1v5.html#a37de00647fc1e0345f485313cdd522f7">fmt::v5::wstring_view</a></div><div class="ttdeci">basic_string_view&lt; wchar_t &gt; wstring_view</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00429">core.h:429</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_a717e330f9b9cfa519cbf97e5e2a81add"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#a717e330f9b9cfa519cbf97e5e2a81add">fmt::v5::format_handler::range</a></div><div class="ttdeci">ArgFormatter::range range</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03069">format.h:3069</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a1b8c0cdffe57c5fe9dc629babe471316"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a1b8c0cdffe57c5fe9dc629babe471316">fmt::v5::internal::count_digits</a></div><div class="ttdeci">int count_digits(uint64_t n)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00777">format.h:777</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a6cb6583cc6285ffa6fc492ff0862d4e3"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a6cb6583cc6285ffa6fc492ff0862d4e3">fmt::v5::float_spec_handler::float_spec_handler</a></div><div class="ttdeci">float_spec_handler(char t)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02662">format.h:2662</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1error__code_html"><div class="ttname"><a href="classfmt_1_1v5_1_1error__code.html">fmt::v5::error_code</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00116">posix.h:116</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null_html_ad0faad0e42c161621f7460207abe3498"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#ad0faad0e42c161621f7460207abe3498">fmt::v5::internal::decimal_formatter_null::decimal_formatter_null</a></div><div class="ttdeci">decimal_formatter_null(char *buf)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00888">format.h:888</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html">fmt::v5::basic_writer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00330">format.h:330</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer_html_a25bc91ed02b0cf7e632c8718cdfa4b41"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a25bc91ed02b0cf7e632c8718cdfa4b41">fmt::v5::basic_writer::int_writer::num_writer::operator()</a></div><div class="ttdeci">void operator()(It &amp;&amp;it) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02477">format.h:2477</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html">fmt::v5::float_spec_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02658">format.h:2658</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_ad376a5124e6d05579d3360db349aec39"><div class="ttname"><a href="namespacefmt_1_1v5.html#ad376a5124e6d05579d3360db349aec39">fmt::v5::join</a></div><div class="ttdeci">arg_join&lt; It, wchar_t &gt; join(It begin, It end, wstring_view sep)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03177">format.h:3177</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1null_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1null.html">fmt::v5::internal::null</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01076">format.h:1076</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_ab998b2c508dd2476a2c8d086689afceb"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#ab998b2c508dd2476a2c8d086689afceb">fmt::v5::format_int::str</a></div><div class="ttdeci">std::string str() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02886">format.h:2886</a></div></div>
<div class="ttc" id="format_8h_html_a25c2cdf9765d15576333ed86298422c5"><div class="ttname"><a href="format_8h.html#a25c2cdf9765d15576333ed86298422c5">FMT_USE_GRISU</a></div><div class="ttdeci">#define FMT_USE_GRISU</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00165">format.h:165</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a87104ff0bbd588f55bbbadf592227d75"><div class="ttname"><a href="namespacefmt_1_1v5.html#a87104ff0bbd588f55bbbadf592227d75">fmt::v5::memory_buffer</a></div><div class="ttdeci">basic_memory_buffer&lt; char &gt; memory_buffer</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00553">format.h:553</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1dynamic__formatter_html_a67cf8828c8811150790a11eb04e138e4"><div class="ttname"><a href="classfmt_1_1v5_1_1dynamic__formatter.html#a67cf8828c8811150790a11eb04e138e4">fmt::v5::dynamic_formatter::format</a></div><div class="ttdeci">auto format(const T &amp;val, FormatContext &amp;ctx) -&gt; decltype(ctx.out())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03023">format.h:3023</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1char__specs__checker_html_aaf74a0eb4908b6ac92930c068a39bf4d"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html#aaf74a0eb4908b6ac92930c068a39bf4d">fmt::v5::internal::char_specs_checker::on_int</a></div><div class="ttdeci">void on_int()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01256">format.h:1256</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html_a4bef3a86933f35c061589933b1fc36a2"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a4bef3a86933f35c061589933b1fc36a2">fmt::v5::internal::arg_formatter_base::cstring_spec_handler::on_pointer</a></div><div class="ttdeci">void on_pointer()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01417">format.h:1417</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_ac8c589250f37514c3fac3a123698ac01"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#ac8c589250f37514c3fac3a123698ac01">fmt::v5::format_handler::on_text</a></div><div class="ttdeci">void on_text(const Char *begin, const Char *end)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03076">format.h:3076</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1output__range_html"><div class="ttname"><a href="classfmt_1_1v5_1_1output__range.html">fmt::v5::output_range</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00333">format.h:333</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_acedd512a780532f842377b6f166a4bab"><div class="ttname"><a href="namespacefmt_1_1v5.html#acedd512a780532f842377b6f166a4bab">fmt::v5::visit_format_arg</a></div><div class="ttdeci">internal::result_of&lt; Visitor(int)&gt;::type visit_format_arg(Visitor &amp;&amp;vis, const basic_format_arg&lt; Context &gt; &amp;arg)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00831">core.h:831</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html">fmt::v5::format_int</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02813">format.h:2813</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter.html">fmt::v5::internal::decimal_formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00847">format.h:847</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html">fmt::v5::internal::arg_ref</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01707">format.h:1707</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8a824a96ce4113d35438ba2c14845de1c3"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a824a96ce4113d35438ba2c14845de1c3">fmt::v5::ALIGN_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01080">format.h:1080</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13">fmt::v5::internal::type</a></div><div class="ttdeci">type</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00530">core.h:530</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a91182ac859ac969e4f719d61cad002e1"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a91182ac859ac969e4f719d61cad002e1">fmt::v5::internal::pointer_from</a></div><div class="ttdeci">const Char * pointer_from(null_terminating_iterator&lt; Char &gt; it)</div><div class="ttdef"><b>Definition:</b> <a href="printf_8h_source.html#l00107">printf.h:107</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a8abc6756a3aee78332053104ecfce661"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a8abc6756a3aee78332053104ecfce661">fmt::v5::internal::truncating_iterator_base::iterator_category</a></div><div class="ttdeci">std::output_iterator_tag iterator_category</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00657">format.h:657</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__error_html_a70224f7e2be8328affe003bbd7224b70"><div class="ttname"><a href="classfmt_1_1v5_1_1format__error.html#a70224f7e2be8328affe003bbd7224b70">fmt::v5::format_error::format_error</a></div><div class="ttdeci">format_error(const std::string &amp;message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00370">format.h:370</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a09ce2b9fd471cbd9603739d41288a72c"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a09ce2b9fd471cbd9603739d41288a72c">fmt::v5::internal::truncating_iterator_base::_Unchecked_type</a></div><div class="ttdeci">truncating_iterator_base _Unchecked_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00661">format.h:661</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__string__view_html_a41d96672c9f5ce8d0709ab321894765e"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html#a41d96672c9f5ce8d0709ab321894765e">fmt::v5::basic_string_view::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00389">core.h:389</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html">fmt::v5::internal::arg_formatter_base::cstring_spec_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01409">format.h:1409</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1checked_html_ae50049ee2def62be6532372564182cac"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1checked.html#ae50049ee2def62be6532372564182cac">fmt::v5::internal::checked::type</a></div><div class="ttdeci">T * type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00387">format.h:387</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html_ae2344ac1cd01b0791888983b7b249063"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#ae2344ac1cd01b0791888983b7b249063">fmt::v5::internal::arg_formatter_base::cstring_spec_handler::formatter</a></div><div class="ttdeci">arg_formatter_base &amp; formatter</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01410">format.h:1410</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer_html"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html">fmt::v5::basic_writer::int_writer::dec_writer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02399">format.h:2399</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aaa8ec781ec26a204da9f38e66a8ede8f"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aaa8ec781ec26a204da9f38e66a8ede8f">fmt::v5::internal::find</a></div><div class="ttdeci">bool find(Ptr first, Ptr last, T value, Ptr &amp;out)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01970">format.h:1970</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ae63557fe9ccf973c29dc6dd122fa4ae0"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">fmt::v5::internal::buffer</a></div><div class="ttdeci">basic_buffer&lt; char &gt; buffer</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00291">core.h:291</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a2afc98455558e211af15ed1ad8c12bfaaaf7cf0b0f8341fafc6ab56b5c5c77f03"><div class="ttname"><a href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaaaf7cf0b0f8341fafc6ab56b5c5c77f03">fmt::v5::MINUS_FLAG</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01084">format.h:1084</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1precision__checker_html_a091ba51843b08d80ef6d332adf95949a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#a091ba51843b08d80ef6d332adf95949a">fmt::v5::internal::precision_checker::operator()</a></div><div class="ttdeci">std::enable_if&lt; !is_integer&lt; T &gt;::value, unsigned long long &gt;::type operator()(T)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01544">format.h:1544</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html_a445855f2d6d7886e1afb26e570618c47"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html#a445855f2d6d7886e1afb26e570618c47">fmt::v5::core_format_specs::precision</a></div><div class="ttdeci">int precision</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01101">format.h:1101</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a16eabcb848e779b567918d0935904b7b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a16eabcb848e779b567918d0935904b7b">fmt::v5::internal::truncating_iterator_base::count_</a></div><div class="ttdeci">std::size_t count_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00651">format.h:651</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1back__insert__range_html_abc01c2e16db484f994b86a47b133acab"><div class="ttname"><a href="classfmt_1_1v5_1_1back__insert__range.html#abc01c2e16db484f994b86a47b133acab">fmt::v5::back_insert_range::back_insert_range</a></div><div class="ttdeci">back_insert_range(typename base::iterator it)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00358">format.h:358</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1string__value_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1string__value.html">fmt::v5::internal::string_value</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00551">core.h:551</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html">fmt::v5::align_spec</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01087">format.h:1087</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__format__specs_html_a3eea365872084949e7a8e14c7d7131f7"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__format__specs.html#a3eea365872084949e7a8e14c7d7131f7">fmt::v5::basic_format_specs::basic_format_specs</a></div><div class="ttdeci">basic_format_specs()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01112">format.h:1112</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148"><div class="ttname"><a href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa972e2caa64b4634539a0e441e76f8148">fmt::v5::PLUS_FLAG</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01084">format.h:1084</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1arg__join_html_a6d52e78c112984ea0d5a0344d8be2ae4"><div class="ttname"><a href="structfmt_1_1v5_1_1arg__join.html#a6d52e78c112984ea0d5a0344d8be2ae4">fmt::v5::arg_join::arg_join</a></div><div class="ttdeci">arg_join(It begin, It end, basic_string_view&lt; Char &gt; sep)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03146">format.h:3146</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ac62a332ee64650f2ebe0e8095fa8e7c0"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ac62a332ee64650f2ebe0e8095fa8e7c0">fmt::v5::internal::data</a></div><div class="ttdeci">basic_data data</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00764">format.h:764</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_aa11c3c244e8b5343d50a9ba6407b0b24"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aa11c3c244e8b5343d50a9ba6407b0b24">fmt::v5::internal::specs_setter::on_type</a></div><div class="ttdeci">void on_type(Char type)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01580">format.h:1580</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a9c4e587796c3f3ad1777bd960a717e39"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a9c4e587796c3f3ad1777bd960a717e39">fmt::v5::internal::double_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00536">core.h:536</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1function_1_1result_html_a10b35177d5430fc9e9fee0301fa43ff2"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1function_1_1result.html#a10b35177d5430fc9e9fee0301fa43ff2">fmt::v5::internal::function::result::type</a></div><div class="ttdeci">Result type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00265">format.h:265</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4_html_ae2f651fb97847c60205bf3f76b2efe1e"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ae2f651fb97847c60205bf3f76b2efe1e">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::false_type &gt;::operator*</a></div><div class="ttdeci">value_type &amp; operator*() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00698">format.h:698</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_af1efdbc1bbd43e22cf9690e50c5e1a08"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#af1efdbc1bbd43e22cf9690e50c5e1a08">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02855">format.h:2855</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1width__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1width__checker.html">fmt::v5::internal::width_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01505">format.h:1505</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__args_html_a68938d8d3d0df2ee1150ceba97964bc4"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__args.html#a68938d8d3d0df2ee1150ceba97964bc4">fmt::v5::format_to_n_args::type</a></div><div class="ttdeci">basic_format_args&lt; typename format_to_n_context&lt; OutputIt, Char &gt;::type &gt; type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03365">format.h:3365</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a2bf13ea13c39343d5656a3804f53508a"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a2bf13ea13c39343d5656a3804f53508a">fmt::v5::internal::custom_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00537">core.h:537</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0"><div class="ttname"><a href="namespacefmt_1_1v5.html#ae7eb8fc665a67b192dc6437bc62ca354a0af8f7e3ddd1a426ef65b42502b4d3a0">fmt::v5::inline_buffer_size</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00431">format.h:431</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a0fe712b3073fdad76e865f681a20a3cb"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a0fe712b3073fdad76e865f681a20a3cb">fmt::v5::internal::arg_formatter_base::writer</a></div><div class="ttdeci">writer_type &amp; writer()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01341">format.h:1341</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_a2314451849f79cbc4c302dc97dff64c7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a2314451849f79cbc4c302dc97dff64c7">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::operator++</a></div><div class="ttdeci">truncating_iterator &amp; operator++(int)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00719">format.h:719</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_a093e3203258d2dfa3fa0282cb41c6b4d"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#a093e3203258d2dfa3fa0282cb41c6b4d">fmt::v5::arg_formatter::operator()</a></div><div class="ttdeci">iterator operator()(typename basic_format_arg&lt; context_type &gt;::handle handle)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02188">format.h:2188</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html">fmt::v5::internal::arg_formatter_base</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01305">format.h:1305</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aa59e73ee062ec382675c0e65d9123b5c"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aa59e73ee062ec382675c0e65d9123b5c">fmt::v5::internal::set_dynamic_spec</a></div><div class="ttdeci">void set_dynamic_spec(T &amp;value, basic_format_arg&lt; Context &gt; arg, ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01654">format.h:1654</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_ab45d5f8ca7d6b6838ddc122f1bd60fe9"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#ab45d5f8ca7d6b6838ddc122f1bd60fe9">fmt::v5::internal::truncating_iterator_base::count</a></div><div class="ttdeci">std::size_t count() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00664">format.h:664</a></div></div>
<div class="ttc" id="core_8h_html_a9a4960b70582ed2620911a0b75dce0b5"><div class="ttname"><a href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a></div><div class="ttdeci">#define FMT_API</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00166">core.h:166</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4_html_ab2c94df15db5ebd65b8f4164cc16431d"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1false__type_01_4.html#ab2c94df15db5ebd65b8f4164cc16431d">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::false_type &gt;::operator++</a></div><div class="ttdeci">truncating_iterator operator++(int)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00692">format.h:692</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_abcbcbcd2dcf4a32bc0d70898605dd17c"><div class="ttname"><a href="namespacefmt_1_1v5.html#abcbcbcd2dcf4a32bc0d70898605dd17c">fmt::v5::make_format_args</a></div><div class="ttdeci">format_arg_store&lt; Context, Args... &gt; make_format_args(const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01199">core.h:1199</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046"><div class="ttname"><a href="namespacefmt_1_1v5.html#a2afc98455558e211af15ed1ad8c12bfaa1d9e9ff365a9e37fdcec9b729b9ab046">fmt::v5::HASH_FLAG</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01084">format.h:1084</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer_html_a00aa69723c38070f04aadeb0ad0c375d"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1hex__writer.html#a00aa69723c38070f04aadeb0ad0c375d">fmt::v5::basic_writer::int_writer::hex_writer::num_digits</a></div><div class="ttdeci">int num_digits</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02417">format.h:2417</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__parse__context_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__parse__context.html">fmt::v5::basic_parse_context</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00878">core.h:878</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html_aa61244d241d6d4b5a8859df32e8d1c41"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#aa61244d241d6d4b5a8859df32e8d1c41">fmt::v5::internal::arg_formatter_base::cstring_spec_handler::cstring_spec_handler</a></div><div class="ttdeci">cstring_spec_handler(arg_formatter_base &amp;f, const char_type *val)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01413">format.h:1413</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_a830077cd847dfe72567f92bdb9a7b847"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a830077cd847dfe72567f92bdb9a7b847">fmt::v5::internal::arg_ref::arg_ref</a></div><div class="ttdeci">arg_ref(unsigned index)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01711">format.h:1711</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer_html_a481aea3f8ddd9813b012e00d1e39348d"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a481aea3f8ddd9813b012e00d1e39348d">fmt::v5::basic_writer::int_writer::dec_writer::num_digits</a></div><div class="ttdeci">int num_digits</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02401">format.h:2401</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__args__t_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__args__t.html">fmt::v5::format_args_t</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03312">format.h:3312</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_ace39bc5327e1dfafaff796b1e7cdd3df"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#ace39bc5327e1dfafaff796b1e7cdd3df">fmt::v5::float_spec_handler::on_fixed</a></div><div class="ttdeci">void on_fixed()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02676">format.h:2676</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_abef3b695050c4132b4fc4d7f256b9580"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#abef3b695050c4132b4fc4d7f256b9580">fmt::v5::internal::to_unsigned</a></div><div class="ttdeci">std::make_unsigned&lt; Int &gt;::type to_unsigned(Int value)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00208">core.h:208</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1no__thousands__sep_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1no__thousands__sep.html">fmt::v5::internal::no_thousands_sep</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00906">format.h:906</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html">fmt::v5::internal::counting_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00615">format.h:615</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a4750c83c90c5d48c7af7389dff6c0ba8"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a4750c83c90c5d48c7af7389dff6c0ba8">fmt::v5::internal::_finite</a></div><div class="ttdeci">dummy_int _finite(...)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00277">format.h:277</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1needs__conversion_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1needs__conversion.html">fmt::v5::internal::needs_conversion</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00802">format.h:802</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_a8b82cfcb68b97554142d75a2d71afbcd"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a8b82cfcb68b97554142d75a2d71afbcd">fmt::v5::internal::arg_ref::kind</a></div><div class="ttdeci">Kind kind</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01722">format.h:1722</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_af91049b32d6d61b2bc01cba4754ee870"><div class="ttname"><a href="namespacefmt_1_1v5.html#af91049b32d6d61b2bc01cba4754ee870">fmt::v5::format</a></div><div class="ttdeci">std::basic_string&lt; typename char_t&lt; S &gt;::type &gt; format(const S &amp;format_str, const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01454">core.h:1454</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__context_html_aa88412259a118ed5ac97e9bd1cee92e3"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__context.html#aa88412259a118ed5ac97e9bd1cee92e3">fmt::v5::basic_format_context::iterator</a></div><div class="ttdeci">OutputIt iterator</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00990">core.h:990</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html">fmt::v5::internal::id_adapter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01986">format.h:1986</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a32f6d887598434ed14e7579a0b15e1be">fmt::v5::ALIGN_DEFAULT</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01080">format.h:1080</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a793d82c248d310c8b1bdf06b00a9bdf8"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a793d82c248d310c8b1bdf06b00a9bdf8">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">iterator operator()(const void *value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01438">format.h:1438</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_ab4f77925d9c95b66e8b0ad5bdba8855b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#ab4f77925d9c95b66e8b0ad5bdba8855b">fmt::v5::internal::float_type_checker::float_type_checker</a></div><div class="ttdeci">float_type_checker(ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01234">format.h:1234</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_ad9b699ac00358e34697007c98a9fd063"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#ad9b699ac00358e34697007c98a9fd063">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(wstring_view value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02626">format.h:2626</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__arg_1_1handle_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html">fmt::v5::basic_format_arg::handle</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00798">core.h:798</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_aad7bbd01a1c5e145908071abf1227283"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#aad7bbd01a1c5e145908071abf1227283">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(string_view value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02622">format.h:2622</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aa896aba6bd0796c1d93bd6f71556a9f5"><div class="ttname"><a href="namespacefmt_1_1v5.html#aa896aba6bd0796c1d93bd6f71556a9f5">fmt::v5::writer</a></div><div class="ttdeci">basic_writer&lt; back_insert_range&lt; internal::buffer &gt; &gt; writer</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00361">format.h:361</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_ae20e743a85c240feefa62a82cb81d836"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ae20e743a85c240feefa62a82cb81d836">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">iterator operator()(const char_type *value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01420">format.h:1420</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a5620d3455b48a3110b4b2b2312c9fb5a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a5620d3455b48a3110b4b2b2312c9fb5a">fmt::v5::internal::specs_setter::on_zero</a></div><div class="ttdeci">void on_zero()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01569">format.h:1569</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_a34213cd8fddd550812e0e3dbc6fba583"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#a34213cd8fddd550812e0e3dbc6fba583">fmt::v5::internal::int_type_checker::on_bin</a></div><div class="ttdeci">void on_bin()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01222">format.h:1222</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_a91e483d3cf1a54ee8c6163572442888a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a91e483d3cf1a54ee8c6163572442888a">fmt::v5::internal::dynamic_specs_handler::char_type</a></div><div class="ttdeci">ParseContext::char_type char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01744">format.h:1744</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_adc8b8640bbe954506ebf019a8c8ac3e5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#adc8b8640bbe954506ebf019a8c8ac3e5">fmt::v5::internal::specs_setter::specs_</a></div><div class="ttdeci">basic_format_specs&lt; Char &gt; &amp; specs_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01585">format.h:1585</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1locale__ref_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1locale__ref.html">fmt::v5::internal::locale_ref</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00972">core.h:972</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a7c6be57189424e80f260e571b9804d68"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a7c6be57189424e80f260e571b9804d68">fmt::v5::internal::format_uint</a></div><div class="ttdeci">It format_uint(It out, UInt value, int num_digits, bool upper=false)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01019">format.h:1019</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a5f49bbf0aec176d242443c81811b439c"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a5f49bbf0aec176d242443c81811b439c">fmt::v5::internal::counting_iterator::operator++</a></div><div class="ttdeci">counting_iterator &amp; operator++()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00632">format.h:632</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1float__spec__handler_html_a9ca4fbeb01db2a21cd1ce54a1e7d179c"><div class="ttname"><a href="structfmt_1_1v5_1_1float__spec__handler.html#a9ca4fbeb01db2a21cd1ce54a1e7d179c">fmt::v5::float_spec_handler::on_general</a></div><div class="ttdeci">void on_general()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02664">format.h:2664</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__error_html_acbee2a23971909898b5cf189d68c38de"><div class="ttname"><a href="classfmt_1_1v5_1_1format__error.html#acbee2a23971909898b5cf189d68c38de">fmt::v5::format_error::format_error</a></div><div class="ttdeci">format_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00367">format.h:367</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__result_html_a2c99d057867cf7e981ef53845a398f42"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__result.html#a2c99d057867cf7e981ef53845a398f42">fmt::v5::format_to_n_result::size</a></div><div class="ttdeci">std::size_t size</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03355">format.h:3355</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1function_1_1result_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1function_1_1result.html">fmt::v5::internal::function::result</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00265">format.h:265</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer_html"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html">fmt::v5::basic_writer::int_writer::num_writer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02471">format.h:2471</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1add__thousands__sep_html_abf5e4ae8e94f8574fcd68d2f049df8d2"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#abf5e4ae8e94f8574fcd68d2f049df8d2">fmt::v5::internal::add_thousands_sep::add_thousands_sep</a></div><div class="ttdeci">add_thousands_sep(basic_string_view&lt; Char &gt; sep)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00927">format.h:927</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a6207aead371c0ab533bc6c012caa7fec"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a6207aead371c0ab533bc6c012caa7fec">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02574">format.h:2574</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1cstring__type__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html">fmt::v5::internal::cstring_type_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01263">format.h:1263</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_a8f5842b3b1c1f74fdbfe1a7139166272"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a8f5842b3b1c1f74fdbfe1a7139166272">fmt::v5::internal::format_string_checker::on_arg_id</a></div><div class="ttdeci">void on_arg_id()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02069">format.h:2069</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer_html_adbb384826111ef8dcca2de5656fd8bfa"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#adbb384826111ef8dcca2de5656fd8bfa">fmt::v5::basic_writer::int_writer::num_writer::sep</a></div><div class="ttdeci">char_type sep</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02474">format.h:2474</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1value_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1value.html">fmt::v5::internal::value</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00564">core.h:564</a></div></div>
<div class="ttc" id="core_8h_html_a30260f394fa5dca5ec3c6db9a0acb02e"><div class="ttname"><a href="core_8h.html#a30260f394fa5dca5ec3c6db9a0acb02e">FMT_CHAR</a></div><div class="ttdeci">#define FMT_CHAR(S)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01320">core.h:1320</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aca60c11758ae1d5b422178e883252bba"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aca60c11758ae1d5b422178e883252bba">fmt::v5::internal::count_code_points</a></div><div class="ttdeci">size_t count_code_points(basic_string_view&lt; char8_t &gt; s)</div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00197">format-inl.h:197</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_af0240aa8eb685e3e6b5350e18fae20b2"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#af0240aa8eb685e3e6b5350e18fae20b2">fmt::v5::internal::specs_checker::on_space</a></div><div class="ttdeci">void on_space()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01615">format.h:1615</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a80875403133fef6385e50480459b1136"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a80875403133fef6385e50480459b1136">fmt::v5::internal::thousands_sep_impl</a></div><div class="ttdeci">Char thousands_sep_impl(locale_ref loc)</div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00222">format-inl.h:222</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_adbcd0335b87494a6785e0416aced9b09"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#adbcd0335b87494a6785e0416aced9b09">fmt::v5::internal::do_check_format_string</a></div><div class="ttdeci">bool do_check_format_string(basic_string_view&lt; Char &gt; s, ErrorHandler eh=ErrorHandler())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02110">format.h:2110</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1custom__formatter_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1custom__formatter.html">fmt::v5::internal::custom_formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01480">format.h:1480</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a853cf2a7d9e1efa6fc8a5622b62c1da9"><div class="ttname"><a href="namespacefmt_1_1v5.html#a853cf2a7d9e1efa6fc8a5622b62c1da9">fmt::v5::format_specs</a></div><div class="ttdeci">basic_format_specs&lt; char &gt; format_specs</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01115">format.h:1115</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_a094c0255ada00199f99d6ec48f00d852"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#a094c0255ada00199f99d6ec48f00d852">fmt::v5::basic_memory_buffer::get_allocator</a></div><div class="ttdeci">Allocator get_allocator() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00531">format.h:531</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_a0ca425c4d66eb220b23180538508f089"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a0ca425c4d66eb220b23180538508f089">fmt::v5::internal::arg_ref::index</a></div><div class="ttdeci">unsigned index</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01724">format.h:1724</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a8a81bc15ccaed031629365ee8b57104d"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8a81bc15ccaed031629365ee8b57104d">fmt::v5::internal::specs_setter::on_minus</a></div><div class="ttdeci">void on_minus()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01565">format.h:1565</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_af211eec79b6f10bba9828dd5bc486fb8"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#af211eec79b6f10bba9828dd5bc486fb8">fmt::v5::internal::format_string_checker::on_format_specs</a></div><div class="ttdeci">const Char * on_format_specs(const Char *begin, const Char *)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02082">format.h:2082</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_a0f7bbace087804f834170962a3751838"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a0f7bbace087804f834170962a3751838">fmt::v5::internal::float_type_checker::on_general</a></div><div class="ttdeci">void on_general()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01237">format.h:1237</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aa601e9520a59e9c38b71eba828ebd063"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aa601e9520a59e9c38b71eba828ebd063">fmt::v5::internal::is_name_start</a></div><div class="ttdeci">bool is_name_start(Char c)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01447">format.h:1447</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer_html_a4785c7356c545c693ee353a08831931b"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#a4785c7356c545c693ee353a08831931b">fmt::v5::basic_writer::int_writer::bin_writer::operator()</a></div><div class="ttdeci">void operator()(It &amp;&amp;it) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02442">format.h:2442</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_ae170841fcffcd93c9d342f7898f9aef9"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#ae170841fcffcd93c9d342f7898f9aef9">fmt::v5::arg_formatter::iterator</a></div><div class="ttdeci">base::iterator iterator</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02168">format.h:2168</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__arg_1_1handle_html_a3ff798e2ef00d3c83f895200cd4712ea"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__arg_1_1handle.html#a3ff798e2ef00d3c83f895200cd4712ea">fmt::v5::basic_format_arg::handle::format</a></div><div class="ttdeci">void format(Context &amp;ctx) const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00802">core.h:802</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a4291d26029047911bc456839856ea64d">fmt::v5::internal::char_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html_a3ec107f4cdd14d0eb7f1ae2a072b0c89"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#a3ec107f4cdd14d0eb7f1ae2a072b0c89">fmt::v5::internal::arg_formatter_base::char_spec_handler::value</a></div><div class="ttdeci">char_type value</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01395">format.h:1395</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1function_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1function.html">fmt::v5::internal::function</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00263">format.h:263</a></div></div>
<div class="ttc" id="core_8h_html_af7f827e50dd7667484c279ac1d38f30b"><div class="ttname"><a href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a></div><div class="ttdeci">#define FMT_NULL</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00107">core.h:107</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_a149ce0957470639d28afc84c3205db79"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a149ce0957470639d28afc84c3205db79">fmt::v5::internal::format_string_checker::on_arg_id</a></div><div class="ttdeci">void on_arg_id(unsigned id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02073">format.h:2073</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1cstring__type__checker_html_a121cc7c3aa7c96aafe802123ca731226"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1cstring__type__checker.html#a121cc7c3aa7c96aafe802123ca731226">fmt::v5::internal::cstring_type_checker::cstring_type_checker</a></div><div class="ttdeci">cstring_type_checker(ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01265">format.h:1265</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_a9df20283c6cfc3b40e350665aa2bf021"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#a9df20283c6cfc3b40e350665aa2bf021">fmt::v5::format_handler::arg</a></div><div class="ttdeci">basic_format_arg&lt; Context &gt; arg</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03119">format.h:3119</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a88b962009c4abb5b83981b8952bbb1ee"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a88b962009c4abb5b83981b8952bbb1ee">fmt::v5::internal::counting_iterator::_Unchecked_type</a></div><div class="ttdeci">counting_iterator _Unchecked_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00626">format.h:626</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html_a4bb79b8a65ceec46b89cdd048abff739"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a4bb79b8a65ceec46b89cdd048abff739">fmt::v5::internal::specs_handler::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01687">format.h:1687</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_a283634a312bcc2e6a5eaf7483a27860b"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#a283634a312bcc2e6a5eaf7483a27860b">fmt::v5::internal::arg_ref::arg_ref</a></div><div class="ttdeci">arg_ref(basic_string_view&lt; Char &gt; nm)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01712">format.h:1712</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html_a1e09219c0d595a59d9271600ecffcc7b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a1e09219c0d595a59d9271600ecffcc7b">fmt::v5::internal::specs_handler::on_dynamic_precision</a></div><div class="ttdeci">void on_dynamic_precision(Id arg_id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01682">format.h:1682</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_aeca1b02a34ced815eb453609e3906752"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#aeca1b02a34ced815eb453609e3906752">fmt::v5::internal::specs_checker::specs_checker</a></div><div class="ttdeci">specs_checker(const specs_checker &amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01596">format.h:1596</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a37f320718a8fbb4cf326d075f6332e93"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a37f320718a8fbb4cf326d075f6332e93">fmt::v5::internal::sprintf_format</a></div><div class="ttdeci">void sprintf_format(Double value, internal::buffer &amp;buf, core_format_specs spec)</div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00764">format-inl.h:764</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1output__range_html_a1c35641258830babeb553b03a6bc802b"><div class="ttname"><a href="classfmt_1_1v5_1_1output__range.html#a1c35641258830babeb553b03a6bc802b">fmt::v5::output_range::output_range</a></div><div class="ttdeci">output_range(OutputIt it)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00345">format.h:345</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html_ad45d0067f9a6f6edfe1c0f0a7ff50af5"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#ad45d0067f9a6f6edfe1c0f0a7ff50af5">fmt::v5::internal::arg_formatter_base::char_spec_handler::on_char</a></div><div class="ttdeci">void on_char()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01406">format.h:1406</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1add__thousands__sep_html_a0bd627a0529dc333328af15cbd2d7f77"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html#a0bd627a0529dc333328af15cbd2d7f77">fmt::v5::internal::add_thousands_sep::char_type</a></div><div class="ttdeci">Char char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00925">format.h:925</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a8561b3876ffaedaf2b94f434da083c34"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a8561b3876ffaedaf2b94f434da083c34">fmt::v5::internal::vformat</a></div><div class="ttdeci">std::basic_string&lt; Char &gt; vformat(basic_string_view&lt; Char &gt; format_str, basic_format_args&lt; typename buffer_context&lt; Char &gt;::type &gt; args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03410">format.h:3410</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_acd6e25e24489eab4c848ac23408bc688"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#acd6e25e24489eab4c848ac23408bc688">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(int value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02854">format.h:2854</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_adc534aad72fd5f9db229cc9edf622771"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#adc534aad72fd5f9db229cc9edf622771">fmt::v5::internal::to_char8_t</a></div><div class="ttdeci">char8_t to_char8_t(char c)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00799">format.h:799</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a0b26ffcf1270c07384a57ddaf3a38a35"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a0b26ffcf1270c07384a57ddaf3a38a35">fmt::v5::internal::basic_buffer::end</a></div><div class="ttdeci">T * end()</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00247">core.h:247</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer_html_ac9041c9b005e35c05a5296f3233954e3"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#ac9041c9b005e35c05a5296f3233954e3">fmt::v5::basic_writer::int_writer::dec_writer::abs_value</a></div><div class="ttdeci">unsigned_type abs_value</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02400">format.h:2400</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1char__specs__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1char__specs__checker.html">fmt::v5::internal::char_specs_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01248">format.h:1248</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_aeadf1e58eae72ef94f9e2c01ad7921c6"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#aeadf1e58eae72ef94f9e2c01ad7921c6">fmt::v5::internal::basic_buffer::set</a></div><div class="ttdeci">void set(T *buf_data, std::size_t buf_capacity)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00232">core.h:232</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_afd2370b282e0a28b3e4981adb2cd723e"><div class="ttname"><a href="namespacefmt_1_1v5.html#afd2370b282e0a28b3e4981adb2cd723e">fmt::v5::format_to_n</a></div><div class="ttdeci">std::enable_if&lt; internal::is_string&lt; S &gt;::value &amp;&amp;internal::is_output_iterator&lt; OutputIt &gt;::value, format_to_n_result&lt; OutputIt &gt; &gt;::type format_to_n(OutputIt out, std::size_t n, const S &amp;format_str, const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03399">format.h:3399</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1dynamic__formatter_html"><div class="ttname"><a href="classfmt_1_1v5_1_1dynamic__formatter.html">fmt::v5::dynamic_formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03004">format.h:3004</a></div></div>
<div class="ttc" id="core_8h_html_a69201cb276383873487bf68b4ef8b4cd"><div class="ttname"><a href="core_8h.html#a69201cb276383873487bf68b4ef8b4cd">FMT_CONSTEXPR</a></div><div class="ttdeci">#define FMT_CONSTEXPR</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00069">core.h:69</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_aa71ca1e30b68b25348bb19bb2e056869"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aa71ca1e30b68b25348bb19bb2e056869">fmt::v5::internal::precision_adapter::operator()</a></div><div class="ttdeci">void operator()(basic_string_view&lt; Char &gt; id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01836">format.h:1836</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer_html_acbde78e0af19b045db0789256d0e4391"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#acbde78e0af19b045db0789256d0e4391">fmt::v5::basic_writer::int_writer::num_writer::size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02473">format.h:2473</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a1ed786fe4b8a5babc3aeaa3eba9a9921"><div class="ttname"><a href="namespacespdlog_1_1level.html#a1ed786fe4b8a5babc3aeaa3eba9a9921">spdlog::level::to_string_view</a></div><div class="ttdeci">string_view_t &amp; to_string_view(spdlog::level::level_enum l) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00135">common.h:135</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a8f8fa329c4f6a82b5f4b07e2624b92f6"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a8f8fa329c4f6a82b5f4b07e2624b92f6">fmt::v5::internal::isinf</a></div><div class="ttdeci">dummy_int isinf(...)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00276">format.h:276</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aab6607dc16d02c9f81d025f93a15caa4"><div class="ttname"><a href="namespacefmt_1_1v5.html#aab6607dc16d02c9f81d025f93a15caa4">fmt::v5::to_wstring</a></div><div class="ttdeci">std::wstring to_wstring(const T &amp;value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03220">format.h:3220</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1u8string__view_html"><div class="ttname"><a href="classfmt_1_1v5_1_1u8string__view.html">fmt::v5::u8string_view</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00411">format.h:411</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_a8223f56be615c31d47e588ac36690aee"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#a8223f56be615c31d47e588ac36690aee">fmt::v5::align_spec::width_</a></div><div class="ttdeci">unsigned width_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01088">format.h:1088</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1dynamic__formatter_html_a541d33c040cb6d2ff781157fad6d09b1"><div class="ttname"><a href="classfmt_1_1v5_1_1dynamic__formatter.html#a541d33c040cb6d2ff781157fad6d09b1">fmt::v5::dynamic_formatter::parse</a></div><div class="ttdeci">auto parse(ParseContext &amp;ctx) -&gt; decltype(ctx.begin())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03016">format.h:3016</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a19f551b1c3abec2c3d40d85ab3ccee03"><div class="ttname"><a href="namespacefmt_1_1v5.html#a19f551b1c3abec2c3d40d85ab3ccee03">fmt::v5::ptr</a></div><div class="ttdeci">const void * ptr(const T *p)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03138">format.h:3138</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__args_html_a7dd4ac1a1a0513a1b567d2c6251656a7"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__args.html#a7dd4ac1a1a0513a1b567d2c6251656a7">fmt::v5::basic_format_args::values_</a></div><div class="ttdeci">const internal::value&lt; Context &gt; * values_</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01218">core.h:1218</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a8df5e9fe475de8e789a43b8a40d60541"><div class="ttname"><a href="namespacefmt_1_1v5.html#a8df5e9fe475de8e789a43b8a40d60541">fmt::v5::vformat_to_n</a></div><div class="ttdeci">std::enable_if&lt; internal::is_output_iterator&lt; OutputIt &gt;::value, format_to_n_result&lt; OutputIt &gt; &gt;::type vformat_to_n(OutputIt out, std::size_t n, basic_string_view&lt; Char &gt; format_str, typename format_to_n_args&lt; OutputIt, Char &gt;::type args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03379">format.h:3379</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aa9df55c2a1be07baac1ee84d206683f5"><div class="ttname"><a href="namespacefmt_1_1v5.html#aa9df55c2a1be07baac1ee84d206683f5">fmt::v5::char8_t</a></div><div class="ttdeci">char8_t</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00407">format.h:407</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null_html_aa973d156e8cd5038b4cbaa8ee7c2b021"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html#aa973d156e8cd5038b4cbaa8ee7c2b021">fmt::v5::internal::decimal_formatter_null::on</a></div><div class="ttdeci">char * on(uint32_t u)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00890">format.h:890</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html_a932e093eb37337b0985205de75f43ab4"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a932e093eb37337b0985205de75f43ab4">fmt::v5::internal::specs_handler::specs_handler</a></div><div class="ttdeci">specs_handler(basic_format_specs&lt; char_type &gt; &amp;specs, Context &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01671">format.h:1671</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a83526f0a8d3c8e9cc85b24a7a00e8496"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a83526f0a8d3c8e9cc85b24a7a00e8496">fmt::v5::internal::check_string_type_spec</a></div><div class="ttdeci">void check_string_type_spec(Char spec, ErrorHandler &amp;&amp;eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01204">format.h:1204</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a7a7af692023580101e0f8028e1d0c653"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a7a7af692023580101e0f8028e1d0c653">fmt::v5::internal::handle_dynamic_spec</a></div><div class="ttdeci">void handle_dynamic_spec(Spec &amp;value, arg_ref&lt; typename Context::char_type &gt; ref, Context &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02134">format.h:2134</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_a28bc42a672af599e109938f34d58bb30"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a28bc42a672af599e109938f34d58bb30">fmt::v5::internal::float_type_checker::on_fixed</a></div><div class="ttdeci">void on_fixed()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01239">format.h:1239</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a07522969fe4d2aefef29e120aee66257"><div class="ttname"><a href="namespacefmt_1_1v5.html#a07522969fe4d2aefef29e120aee66257">fmt::v5::to_string</a></div><div class="ttdeci">std::basic_string&lt; Char &gt; to_string(const basic_memory_buffer&lt; Char, SIZE &gt; &amp;buf)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03228">format.h:3228</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer_html"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html">fmt::v5::basic_writer::int_writer::bin_writer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02437">format.h:2437</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1add__thousands__sep_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1add__thousands__sep.html">fmt::v5::internal::add_thousands_sep</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00917">format.h:917</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_aebafbc2312741d5dd5290df3afadcfe5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aebafbc2312741d5dd5290df3afadcfe5">fmt::v5::internal::specs_setter::specs_setter</a></div><div class="ttdeci">specs_setter(const specs_setter &amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01560">format.h:1560</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_aecaa097e427d00d791de417e5ea9034c"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#aecaa097e427d00d791de417e5ea9034c">fmt::v5::basic_memory_buffer::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00478">format.h:478</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1it__category_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1it__category.html">fmt::v5::internal::it_category</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03273">format.h:3273</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html">fmt::v5::internal::specs_setter</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01555">format.h:1555</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_abce5f587ed4b5a7461b1c2812e7650a7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#abce5f587ed4b5a7461b1c2812e7650a7">fmt::v5::internal::specs_checker::on_align</a></div><div class="ttdeci">void on_align(alignment align)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01599">format.h:1599</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a5f7253ee05af521286206b1ab24ad368"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a5f7253ee05af521286206b1ab24ad368">fmt::v5::internal::reserve</a></div><div class="ttdeci">Iterator &amp; reserve(Iterator &amp;it, std::size_t)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00604">format.h:604</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_adcffafbbb51c42a17357ffc66e697fc7"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#adcffafbbb51c42a17357ffc66e697fc7">fmt::v5::format_handler::context</a></div><div class="ttdeci">Context context</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03118">format.h:3118</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1system__error_html_ac761354e3eb707044395fd140020e796"><div class="ttname"><a href="classfmt_1_1v5_1_1system__error.html#ac761354e3eb707044395fd140020e796">fmt::v5::system_error::error_code_</a></div><div class="ttdeci">int error_code_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02203">format.h:2203</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs_html_a889a59c0e42b1be665f320085fecd117"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a889a59c0e42b1be665f320085fecd117">fmt::v5::internal::dynamic_format_specs::precision_ref</a></div><div class="ttdeci">arg_ref&lt; Char &gt; precision_ref</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01735">format.h:1735</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_aacef4cb4349a6bbdcaf5d2892899a05e"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#aacef4cb4349a6bbdcaf5d2892899a05e">fmt::v5::format_int::size</a></div><div class="ttdeci">std::size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02862">format.h:2862</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a28edcc9fc66b5c65a8c9b89975164568"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a28edcc9fc66b5c65a8c9b89975164568">fmt::v5::internal::string_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00537">core.h:537</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_aad41fe0a8b8b0f452f866e51d3dbf1b1"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#aad41fe0a8b8b0f452f866e51d3dbf1b1">fmt::v5::internal::specs_setter::on_precision</a></div><div class="ttdeci">void on_precision(unsigned precision)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01575">format.h:1575</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_a308cbb025165a2b6183eb1064919abb7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a308cbb025165a2b6183eb1064919abb7">fmt::v5::internal::dynamic_specs_handler::on_dynamic_precision</a></div><div class="ttdeci">void on_dynamic_precision(Id arg_id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01760">format.h:1760</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1error__handler_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1error__handler.html">fmt::v5::internal::error_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00322">core.h:322</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_af240860ec3c7ab05495ec8380b3e3479"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#af240860ec3c7ab05495ec8380b3e3479">fmt::v5::internal::arg_ref::name</a></div><div class="ttdeci">string_value&lt; Char &gt; name</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01725">format.h:1725</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a0109570b2d60f43af209bd9f42f81f50"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a0109570b2d60f43af209bd9f42f81f50">fmt::v5::internal::specs_setter::on_fill</a></div><div class="ttdeci">void on_fill(Char fill)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01563">format.h:1563</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1system__error_html_adb8fd39cacc13537bdf0265602df3b76"><div class="ttname"><a href="classfmt_1_1v5_1_1system__error.html#adb8fd39cacc13537bdf0265602df3b76">fmt::v5::system_error::system_error</a></div><div class="ttdeci">system_error(int error_code, string_view message, const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02227">format.h:2227</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a7c53dfb46eb6438dbab9ac6b8359ddec"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a7c53dfb46eb6438dbab9ac6b8359ddec">fmt::v5::internal::truncating_iterator_base::base</a></div><div class="ttdeci">OutputIt base() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00663">format.h:663</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html">fmt::v5::internal::specs_checker</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01591">format.h:1591</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer_html_a5b63c108ffad740fe70afea4df45bf14"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1dec__writer.html#a5b63c108ffad740fe70afea4df45bf14">fmt::v5::basic_writer::int_writer::dec_writer::operator()</a></div><div class="ttdeci">void operator()(It &amp;&amp;it) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02404">format.h:2404</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_adc19ccf22ffc0997293bdf759711b6e7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#adc19ccf22ffc0997293bdf759711b6e7">fmt::v5::internal::specs_checker::end_precision</a></div><div class="ttdeci">void end_precision()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01630">format.h:1630</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer_html_a94c9f59f76f17baa5e58a9f1d2d825d8"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1num__writer.html#a94c9f59f76f17baa5e58a9f1d2d825d8">fmt::v5::basic_writer::int_writer::num_writer::abs_value</a></div><div class="ttdeci">unsigned_type abs_value</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02472">format.h:2472</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ac78801118381630acf4a9e778e67f6ee"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ac78801118381630acf4a9e778e67f6ee">fmt::v5::internal::is_arithmetic</a></div><div class="ttdeci">bool is_arithmetic(type t)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00545">core.h:545</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a23b2dd85fe035d41a5e93822e346d277"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a23b2dd85fe035d41a5e93822e346d277">fmt::v5::internal::ulong_long_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_a3d13e902cc03addce9102d21294260a6"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a3d13e902cc03addce9102d21294260a6">fmt::v5::internal::width_adapter::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01820">format.h:1820</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler_html_affa464f89a6f6fa5afda5dc7f405b962"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1char__spec__handler.html#affa464f89a6f6fa5afda5dc7f405b962">fmt::v5::internal::arg_formatter_base::char_spec_handler::formatter</a></div><div class="ttdeci">arg_formatter_base &amp; formatter</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01394">format.h:1394</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_a10f0bb03d362ecb21a688778230e2925"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#a10f0bb03d362ecb21a688778230e2925">fmt::v5::format_handler::on_format_specs</a></div><div class="ttdeci">const Char * on_format_specs(const Char *begin, const Char *end)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03100">format.h:3100</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_ac02c304cf7b266259fd689c7c336935d"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#ac02c304cf7b266259fd689c7c336935d">fmt::v5::internal::width_adapter::operator()</a></div><div class="ttdeci">void operator()(unsigned id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01815">format.h:1815</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__checker_html_a13f99fab9887df8c7e6502787a278bfb"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__checker.html#a13f99fab9887df8c7e6502787a278bfb">fmt::v5::internal::specs_checker::on_hash</a></div><div class="ttdeci">void on_hash()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01620">format.h:1620</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html">fmt::v5::internal::basic_buffer</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00215">core.h:215</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html_a08766778b893b5a8057b9580db36da9c"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html#a08766778b893b5a8057b9580db36da9c">fmt::v5::core_format_specs::flags</a></div><div class="ttdeci">uint_least8_t flags</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01102">format.h:1102</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8a6cf58d6a173204a962db3dae30a01d8c"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8a6cf58d6a173204a962db3dae30a01d8c">fmt::v5::ALIGN_CENTER</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01080">format.h:1080</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_afe980acdb2bb4cb83729a07c105159d1"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#afe980acdb2bb4cb83729a07c105159d1">fmt::v5::internal::copy</a></div><div class="ttdeci">void copy(const RangeT &amp;range, OutputIterator out)</div><div class="ttdef"><b>Definition:</b> <a href="ranges_8h_source.html#l00058">ranges.h:58</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1system__error_html_afab23543db82d4cebb222ac5582c29f4"><div class="ttname"><a href="classfmt_1_1v5_1_1system__error.html#afab23543db82d4cebb222ac5582c29f4">fmt::v5::system_error::system_error</a></div><div class="ttdeci">system_error()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02205">format.h:2205</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_a3fbe7d41bebcb3f3a2d29ebe3bf84dd5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3fbe7d41bebcb3f3a2d29ebe3bf84dd5">fmt::v5::internal::format_string_checker::on_text</a></div><div class="ttdeci">void on_text(const Char *, const Char *)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02067">format.h:2067</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_a32a2f523495547bcd97610b62d01a610"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#a32a2f523495547bcd97610b62d01a610">fmt::v5::format_handler::on_arg_id</a></div><div class="ttdeci">void on_arg_id(basic_string_view&lt; Char &gt; id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03089">format.h:3089</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html_a519ca34f6bded5481821e4c0ad29a9ba"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a519ca34f6bded5481821e4c0ad29a9ba">fmt::v5::internal::arg_formatter_base::cstring_spec_handler::on_string</a></div><div class="ttdeci">void on_string()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01416">format.h:1416</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1output__range_html_a001ad2356c56ce8aa89a3e89487ce8d8"><div class="ttname"><a href="classfmt_1_1v5_1_1output__range.html#a001ad2356c56ce8aa89a3e89487ce8d8">fmt::v5::output_range::iterator</a></div><div class="ttdeci">OutputIt iterator</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00342">format.h:342</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_acfec8964ca97b0ea4a08d2efff4ba6ba"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#acfec8964ca97b0ea4a08d2efff4ba6ba">fmt::v5::internal::truncating_iterator_base::pointer</a></div><div class="ttdeci">void pointer</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00659">format.h:659</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a8890ae003e8b00eed900cd18d216cf48"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a8890ae003e8b00eed900cd18d216cf48">fmt::v5::internal::arg_formatter_base::out</a></div><div class="ttdeci">iterator out()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01343">format.h:1343</a></div></div>
<div class="ttc" id="core_8h_html_aef128913e8400683b1cbd1a3a2e11df3"><div class="ttname"><a href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a></div><div class="ttdeci">#define FMT_NOEXCEPT</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00140">core.h:140</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1int__traits_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1int__traits.html">fmt::v5::internal::int_traits</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00737">format.h:737</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1arg__join_html_a547d8479ecf6206c1931419886574729"><div class="ttname"><a href="structfmt_1_1v5_1_1arg__join.html#a547d8479ecf6206c1931419886574729">fmt::v5::arg_join::sep</a></div><div class="ttdeci">basic_string_view&lt; Char &gt; sep</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03144">format.h:3144</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a8a20d279f251620dbb1d59aaeb3f7fbd"><div class="ttname"><a href="namespacefmt_1_1v5.html#a8a20d279f251620dbb1d59aaeb3f7fbd">fmt::v5::format_to</a></div><div class="ttdeci">std::enable_if&lt; internal::is_string&lt; S &gt;::value &amp;&amp;internal::is_output_iterator&lt; OutputIt &gt;::value, OutputIt &gt;::type format_to(OutputIt out, const S &amp;format_str, const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03342">format.h:3342</a></div></div>
<div class="ttc" id="core_8h_html_a515a4ead7f137e2c96a61e2aa87ae862"><div class="ttname"><a href="core_8h.html#a515a4ead7f137e2c96a61e2aa87ae862">FMT_ENABLE_IF_T</a></div><div class="ttdeci">#define FMT_ENABLE_IF_T(B, T)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01305">core.h:1305</a></div></div>
<div class="ttc" id="namespacefmt_html"><div class="ttname"><a href="namespacefmt.html">fmt</a></div><div class="ttdef"><b>Definition:</b> <a href="bin__to__hex_8h_source.html#l00069">bin_to_hex.h:69</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_ab92c73e74847673855c24767e21430dd"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#ab92c73e74847673855c24767e21430dd">fmt::v5::internal::counting_iterator::operator++</a></div><div class="ttdeci">counting_iterator operator++(int)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00637">format.h:637</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a4e295df91ec1c12fd786d17e905442de"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a4e295df91ec1c12fd786d17e905442de">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(const Char *s, std::size_t size, const align_spec &amp;spec)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02634">format.h:2634</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_affdef5d73dd28bcbe91c68f617f7b419"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#affdef5d73dd28bcbe91c68f617f7b419">fmt::v5::internal::format_string_checker::format_string_checker</a></div><div class="ttdeci">format_string_checker(basic_string_view&lt; Char &gt; format_str, ErrorHandler eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02062">format.h:2062</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8ab47b991779038b4bc5f4558423a749b1">fmt::v5::ALIGN_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01080">format.h:1080</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0fd504293f21ab24279d713171185c27"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0fd504293f21ab24279d713171185c27">fmt::v5::wwriter</a></div><div class="ttdeci">basic_writer&lt; back_insert_range&lt; internal::wbuffer &gt; &gt; wwriter</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00362">format.h:362</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1container__buffer_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1container__buffer.html">fmt::v5::internal::container_buffer</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00296">core.h:296</a></div></div>
<div class="ttc" id="core_8h_html_a03e7ee720f43adc7d83c652a6a5dd5f8"><div class="ttname"><a href="core_8h.html#a03e7ee720f43adc7d83c652a6a5dd5f8">FMT_ASSERT</a></div><div class="ttdeci">#define FMT_ASSERT(condition, message)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00170">core.h:170</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_aaee1761c014bc6a5ca7be7fcb48f6a1e"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#aaee1761c014bc6a5ca7be7fcb48f6a1e">fmt::v5::internal::parse_align</a></div><div class="ttdeci">const Char * parse_align(const Char *begin, const Char *end, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01847">format.h:1847</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html">fmt::v5::internal::dynamic_format_specs</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01733">format.h:1733</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a05e90e22d2222c1c458d625f8559599a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a05e90e22d2222c1c458d625f8559599a">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">std::enable_if&lt; std::is_integral&lt; T &gt;::value||std::is_same&lt; T, char_type &gt;::value, iterator &gt;::type operator()(T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01370">format.h:1370</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a2e73d42a69cbb1a1e3135f5b38c33771"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a2e73d42a69cbb1a1e3135f5b38c33771">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(double value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02594">format.h:2594</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer_html_af957d7cd5b03d0094f3601d8421ae6f7"><div class="ttname"><a href="structfmt_1_1v5_1_1basic__writer_1_1int__writer_1_1bin__writer.html#af957d7cd5b03d0094f3601d8421ae6f7">fmt::v5::basic_writer::int_writer::bin_writer::num_digits</a></div><div class="ttdeci">int num_digits</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02439">format.h:2439</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs_html_a83d7ae45b8fc003f531e2f996b51c9b3"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1dynamic__format__specs.html#a83d7ae45b8fc003f531e2f996b51c9b3">fmt::v5::internal::dynamic_format_specs::width_ref</a></div><div class="ttdeci">arg_ref&lt; Char &gt; width_ref</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01734">format.h:1734</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8">fmt::v5::alignment</a></div><div class="ttdeci">alignment</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01079">format.h:1079</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__string__view_html_a1c012c5a39edc6e7119593a256586021"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html#a1c012c5a39edc6e7119593a256586021">fmt::v5::basic_string_view::data</a></div><div class="ttdeci">const Char * data() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00386">core.h:386</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__error_html"><div class="ttname"><a href="classfmt_1_1v5_1_1format__error.html">fmt::v5::format_error</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00365">format.h:365</a></div></div>
<div class="ttc" id="core_8h_html_a887c191adf8cfaf06ed40b5c4d487343"><div class="ttname"><a href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="ttdeci">#define FMT_BEGIN_NAMESPACE</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00155">core.h:155</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1precision__checker_html_aef64950df9269488dea1a8f1c91fc3bc"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1precision__checker.html#aef64950df9269488dea1a8f1c91fc3bc">fmt::v5::internal::precision_checker::operator()</a></div><div class="ttdeci">std::enable_if&lt; is_integer&lt; T &gt;::value, unsigned long long &gt;::type operator()(T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01536">format.h:1536</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1basic__data_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1basic__data.html">fmt::v5::internal::basic_data</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00747">format.h:747</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_a884a3f983b8dd92638bdcfc2efa0fef0"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a884a3f983b8dd92638bdcfc2efa0fef0">fmt::v5::internal::dynamic_specs_handler::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01764">format.h:1764</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a129e2aec5d517b72a1f6173ee17f52f3"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a129e2aec5d517b72a1f6173ee17f52f3">fmt::v5::internal::handle_int_type_spec</a></div><div class="ttdeci">void handle_int_type_spec(char spec, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01140">format.h:1140</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__handler_html_a3577cd82b12c640ecd649dea25c1e4a6"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__handler.html#a3577cd82b12c640ecd649dea25c1e4a6">fmt::v5::internal::specs_handler::on_dynamic_width</a></div><div class="ttdeci">void on_dynamic_width(Id arg_id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01676">format.h:1676</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_ac849a4087b1f888c968321696bf114ca"><div class="ttname"><a href="namespacefmt_1_1v5.html#ac849a4087b1f888c968321696bf114ca">fmt::v5::vformat_to</a></div><div class="ttdeci">std::enable_if&lt; internal::is_output_iterator&lt; OutputIt &gt;::value, OutputIt &gt;::type vformat_to(OutputIt out, const String &amp;format_str, typename format_args_t&lt; OutputIt, typename char_t&lt; String &gt;::type &gt;::type args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03320">format.h:3320</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html_af2f270216f9f408f402e94ad1033fe26"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html#af2f270216f9f408f402e94ad1033fe26">fmt::v5::core_format_specs::core_format_specs</a></div><div class="ttdeci">core_format_specs()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01105">format.h:1105</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_af0a6c006dcf81a1e1b3db4ff9d400e6d"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#af0a6c006dcf81a1e1b3db4ff9d400e6d">fmt::v5::format_handler::format_handler</a></div><div class="ttdeci">format_handler(range r, basic_string_view&lt; Char &gt; str, basic_format_args&lt; Context &gt; format_args, internal::locale_ref loc)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03071">format.h:3071</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5_html_a0decc0ceee49ae7780113a741baf8742"><div class="ttname"><a href="structfmt_1_1v5_1_1formatter_3_01_t_00_01_char_00_01typename_01std_1_1enable__if_3_01internal_1_8f67657c5a3f8dbcc6236217f928ccb5.html#a0decc0ceee49ae7780113a741baf8742">fmt::v5::formatter&lt; T, Char, typename std::enable_if&lt; internal::format_type&lt; typename buffer_context&lt; Char &gt;::type, T &gt;::value &gt;::type &gt;::format</a></div><div class="ttdeci">auto format(const T &amp;val, FormatContext &amp;ctx) -&gt; decltype(ctx.out())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02978">format.h:2978</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a7f211f565c9879fafad806b788dde60d"><div class="ttname"><a href="namespacefmt_1_1v5.html#a7f211f565c9879fafad806b788dde60d">fmt::v5::format_system_error</a></div><div class="ttdeci">void format_system_error(internal::buffer &amp;out, int error_code, string_view message)</div><div class="ttdef"><b>Definition:</b> <a href="format-inl_8h_source.html#l00906">format-inl.h:906</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__to__n__context_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__to__n__context.html">fmt::v5::format_to_n_context</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03359">format.h:3359</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a782542b1b5c4dd8c67d2d015aeb79ee9">fmt::v5::internal::none_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00531">core.h:531</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ad26cf75c1e4ab48a7d4d2254a44001f0"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ad26cf75c1e4ab48a7d4d2254a44001f0">fmt::v5::internal::handle_char_specs</a></div><div class="ttdeci">void handle_char_specs(const basic_format_specs&lt; Char &gt; *specs, Handler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01184">format.h:1184</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1u8string__view_html_ace3a1b7f6bca7b364411dd7bca8eb666"><div class="ttname"><a href="classfmt_1_1v5_1_1u8string__view.html#ace3a1b7f6bca7b364411dd7bca8eb666">fmt::v5::u8string_view::u8string_view</a></div><div class="ttdeci">u8string_view(const char *s)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00415">format.h:415</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a531918e4cf5995d2c14785b3eb1f9699"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a531918e4cf5995d2c14785b3eb1f9699">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(int value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02573">format.h:2573</a></div></div>
<div class="ttc" id="core_8h_html_a023c6c178e254d81d578b90921804b1c"><div class="ttname"><a href="core_8h.html#a023c6c178e254d81d578b90921804b1c">FMT_OVERRIDE</a></div><div class="ttdeci">#define FMT_OVERRIDE</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00088">core.h:88</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1checked_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1checked.html">fmt::v5::internal::checked</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00387">format.h:387</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1counting__iterator_html_a81db3ee5c66069e844af366c6ffb1dce"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1counting__iterator.html#a81db3ee5c66069e844af366c6ffb1dce">fmt::v5::internal::counting_iterator::reference</a></div><div class="ttdeci">T &amp; reference</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00625">format.h:625</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a2c52eadabf215a00fdc216702dbf0df6"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a2c52eadabf215a00fdc216702dbf0df6">fmt::v5::internal::parse_arg_id</a></div><div class="ttdeci">const Char * parse_arg_id(const Char *begin, const Char *end, IDHandler &amp;&amp;handler)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01786">format.h:1786</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1u8string__view_html_aa0aaed9e4977fa2cbec789178ea3b694"><div class="ttname"><a href="classfmt_1_1v5_1_1u8string__view.html#aa0aaed9e4977fa2cbec789178ea3b694">fmt::v5::u8string_view::char_type</a></div><div class="ttdeci">char8_t char_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00413">format.h:413</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1formatter_html_a4147e797582f75be18645d2b6aef4e57"><div class="ttname"><a href="structfmt_1_1v5_1_1formatter.html#a4147e797582f75be18645d2b6aef4e57">fmt::v5::formatter::parse</a></div><div class="ttdeci">ParseContext::iterator parse(ParseContext &amp;)</div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_ab9c093637a8328c1d798547a91ca1a5b"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ab9c093637a8328c1d798547a91ca1a5b">fmt::v5::internal::check_pointer_type_spec</a></div><div class="ttdeci">void check_pointer_type_spec(Char spec, ErrorHandler &amp;&amp;eh)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01210">format.h:1210</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_acd0741048e2d4d76c3a549c5a6d9d857"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#acd0741048e2d4d76c3a549c5a6d9d857">fmt::v5::internal::check_format_string</a></div><div class="ttdeci">std::enable_if&lt;!is_compile_string&lt; S &gt;::value &gt;::type check_format_string(const S &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01352">core.h:1352</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__args_html_a961b62b8f8bd720f6fe8099bc1046d64"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__args.html#a961b62b8f8bd720f6fe8099bc1046d64">fmt::v5::basic_format_args::max_size</a></div><div class="ttdeci">size_type max_size() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01285">core.h:1285</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1id__adapter_html_a75ba87fda26a74c86407b89b4785fcc0"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1id__adapter.html#a75ba87fda26a74c86407b89b4785fcc0">fmt::v5::internal::id_adapter::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01992">format.h:1992</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda"><div class="ttname"><a href="namespacefmt_1_1v5.html#a0da085ecacb88b605244ce76332bd8d8aa3ce3cd4b41a0dfcb8376a8072a75cda">fmt::v5::ALIGN_NUMERIC</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01080">format.h:1080</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13aa7a6f8b82db485f179833d300de9d139"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13aa7a6f8b82db485f179833d300de9d139">fmt::v5::internal::named_arg_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00531">core.h:531</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1align__spec_html_a5c40750e67850f9e430ac1278890f96d"><div class="ttname"><a href="structfmt_1_1v5_1_1align__spec.html#a5c40750e67850f9e430ac1278890f96d">fmt::v5::align_spec::align_</a></div><div class="ttdeci">alignment align_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01092">format.h:1092</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_aca2d85b4bd5747fb96a880034a6e4d14"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aca2d85b4bd5747fb96a880034a6e4d14">fmt::v5::internal::precision_adapter::precision_adapter</a></div><div class="ttdeci">precision_adapter(SpecHandler &amp;h)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01830">format.h:1830</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_ab2e59146a8b73543a67737f28d7eb176"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#ab2e59146a8b73543a67737f28d7eb176">fmt::v5::internal::arg_formatter_base::spec</a></div><div class="ttdeci">format_specs * spec()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01342">format.h:1342</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a9c9273f21d9f37b64f17801628d44633"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a9c9273f21d9f37b64f17801628d44633">fmt::v5::internal::uint_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00533">core.h:533</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_a818044e240e597e65a6c33cb547e4397"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#a818044e240e597e65a6c33cb547e4397">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(unsigned long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02858">format.h:2858</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__string__view_html_a9d2ad6e48514367b0488f13e29d83960"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html#a9d2ad6e48514367b0488f13e29d83960">fmt::v5::basic_string_view::begin</a></div><div class="ttdeci">iterator begin() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00391">core.h:391</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1output__range_html_acd03d46c6de53cdc7dccc5890a9df377"><div class="ttname"><a href="classfmt_1_1v5_1_1output__range.html#acd03d46c6de53cdc7dccc5890a9df377">fmt::v5::output_range::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00343">format.h:343</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_a4a840dd1d757f57f9ceee5da7442a9d1"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#a4a840dd1d757f57f9ceee5da7442a9d1">fmt::v5::basic_memory_buffer::basic_memory_buffer</a></div><div class="ttdeci">basic_memory_buffer(basic_memory_buffer &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00514">format.h:514</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a8ec97ee5743a7adb1d27793190004066"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a8ec97ee5743a7adb1d27793190004066">fmt::v5::internal::specs_setter::on_width</a></div><div class="ttdeci">void on_width(unsigned width)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01574">format.h:1574</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1output__range_html_ac2080a7135621bbee487a25bfd0d34e7"><div class="ttname"><a href="classfmt_1_1v5_1_1output__range.html#ac2080a7135621bbee487a25bfd0d34e7">fmt::v5::output_range::begin</a></div><div class="ttdeci">OutputIt begin() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00346">format.h:346</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a355d7dd1bc164c3b845d96bb5ba1a5c0"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a355d7dd1bc164c3b845d96bb5ba1a5c0">fmt::v5::internal::pointer_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00537">core.h:537</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1char__t_html"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1char__t.html">fmt::v5::internal::char_t</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00519">core.h:519</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html_a988c9b12cdd78f32d51c231134317a9a"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html#a988c9b12cdd78f32d51c231134317a9a">fmt::v5::format_handler::on_arg_id</a></div><div class="ttdeci">void on_arg_id(unsigned id)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03085">format.h:3085</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_a16dc183a56fba190395fdea7629f69ca"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#a16dc183a56fba190395fdea7629f69ca">fmt::v5::basic_memory_buffer::~basic_memory_buffer</a></div><div class="ttdeci">~basic_memory_buffer()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00485">format.h:485</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_a3301ccbf6a0ab1b233242041a835a54a"><div class="ttname"><a href="namespacefmt_1_1v5.html#a3301ccbf6a0ab1b233242041a835a54a">fmt::v5::string_view</a></div><div class="ttdeci">basic_string_view&lt; char &gt; string_view</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00428">core.h:428</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1width__adapter_html_a7216841a9338f38f757dd93a9a6f2869"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1width__adapter.html#a7216841a9338f38f757dd93a9a6f2869">fmt::v5::internal::width_adapter::width_adapter</a></div><div class="ttdeci">width_adapter(SpecHandler &amp;h)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01812">format.h:1812</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1specs__setter_html_a1ec03a0f5d574c5dd31b0ebaa810029a"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1specs__setter.html#a1ec03a0f5d574c5dd31b0ebaa810029a">fmt::v5::internal::specs_setter::on_plus</a></div><div class="ttdeci">void on_plus()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01564">format.h:1564</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_af29d4c9940dfcbd4181291395855b665"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#af29d4c9940dfcbd4181291395855b665">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(char value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02609">format.h:2609</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_af8b98afef956b03a99bc61d088705f13a73df9a3576f5a9596c4651fddef7dfac"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#af8b98afef956b03a99bc61d088705f13a73df9a3576f5a9596c4651fddef7dfac">fmt::v5::internal::cstring_type</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00537">core.h:537</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__format__args_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__format__args.html">fmt::v5::basic_format_args</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00487">core.h:487</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_aeb6a206671e6d416a4696343e940ea33"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#aeb6a206671e6d416a4696343e940ea33">fmt::v5::basic_writer::basic_writer</a></div><div class="ttdeci">basic_writer(Range out, internal::locale_ref loc=internal::locale_ref())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02567">format.h:2567</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1back__insert__range_html"><div class="ttname"><a href="classfmt_1_1v5_1_1back__insert__range.html">fmt::v5::back_insert_range</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00351">format.h:351</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1precision__adapter_html_aac38ce68b195f734a981b68497fcac77"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1precision__adapter.html#aac38ce68b195f734a981b68497fcac77">fmt::v5::internal::precision_adapter::handler</a></div><div class="ttdeci">SpecHandler &amp; handler</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01842">format.h:1842</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a0a4fd70e18eba9d0da494fcb4f0fc32c"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a0a4fd70e18eba9d0da494fcb4f0fc32c">fmt::v5::internal::copy_str</a></div><div class="ttdeci">std::enable_if&lt; needs_conversion&lt; InputIt, OutChar &gt;::value, OutputIt &gt;::type copy_str(InputIt begin, InputIt end, OutputIt it)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00817">format.h:817</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_aebdab4a99bb740c29b106ac79bf9f158"><div class="ttname"><a href="namespacefmt_1_1v5.html#aebdab4a99bb740c29b106ac79bf9f158">fmt::v5::format_decimal</a></div><div class="ttdeci">void format_decimal(char *&amp;buffer, T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02894">format.h:2894</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_aeda72496f8e7ff87432a167689a07b60"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#aeda72496f8e7ff87432a167689a07b60">fmt::v5::arg_formatter::format_specs</a></div><div class="ttdeci">base::format_specs format_specs</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02169">format.h:2169</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_a04e7e682d636a65fa60fb0a5b78fa98d"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#a04e7e682d636a65fa60fb0a5b78fa98d">fmt::v5::basic_memory_buffer::operator=</a></div><div class="ttdeci">basic_memory_buffer &amp; operator=(basic_memory_buffer &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00523">format.h:523</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base_html_a1549daf80c73bb341ed33dbe97d9c8a5"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator__base.html#a1549daf80c73bb341ed33dbe97d9c8a5">fmt::v5::internal::truncating_iterator_base::out_</a></div><div class="ttdeci">OutputIt out_</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00649">format.h:649</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_a077b2a99428ae2dc673a4e172004d640"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#a077b2a99428ae2dc673a4e172004d640">fmt::v5::format_int::data</a></div><div class="ttdeci">const char * data() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02870">format.h:2870</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1monostate_html"><div class="ttname"><a href="structfmt_1_1v5_1_1monostate.html">fmt::v5::monostate</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00820">core.h:820</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1core__format__specs_html_a6768437518e195164021594fd2ce0ff7"><div class="ttname"><a href="structfmt_1_1v5_1_1core__format__specs.html#a6768437518e195164021594fd2ce0ff7">fmt::v5::core_format_specs::has</a></div><div class="ttdeci">bool has(unsigned f) const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01106">format.h:1106</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1format__int_html_aec2635e33daf103e747a4f86bc050485"><div class="ttname"><a href="classfmt_1_1v5_1_1format__int.html#aec2635e33daf103e747a4f86bc050485">fmt::v5::format_int::format_int</a></div><div class="ttdeci">format_int(unsigned long long value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02859">format.h:2859</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4_html_a9284d872ba9a7fc8e42a9d9a5d7777de"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1truncating__iterator_3_01_output_it_00_01std_1_1true__type_01_4.html#a9284d872ba9a7fc8e42a9d9a5d7777de">fmt::v5::internal::truncating_iterator&lt; OutputIt, std::true_type &gt;::truncating_iterator</a></div><div class="ttdeci">truncating_iterator(OutputIt out, std::size_t limit)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00709">format.h:709</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_aa08622a95cb0dd13bc3295f347f2e5ac"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#aa08622a95cb0dd13bc3295f347f2e5ac">fmt::v5::internal::format_string_checker::on_error</a></div><div class="ttdeci">void on_error(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02088">format.h:2088</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__handler_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__handler.html">fmt::v5::format_handler</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03068">format.h:3068</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_af308c665441c50a867bec1c17cd8b423"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#af308c665441c50a867bec1c17cd8b423">fmt::v5::basic_writer::write</a></div><div class="ttdeci">std::enable_if&lt; std::is_same&lt; T, void &gt;::value &gt;::type write(const T *p)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02650">format.h:2650</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1format__string__checker_html_a3acec6cf8e16fcae6dd75da1930684f6"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1format__string__checker.html#a3acec6cf8e16fcae6dd75da1930684f6">fmt::v5::internal::format_string_checker::on_arg_id</a></div><div class="ttdeci">void on_arg_id(basic_string_view&lt; Char &gt;)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02078">format.h:2078</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1float__type__checker_html_a488c1569ecc390390de41642af877cf1"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1float__type__checker.html#a488c1569ecc390390de41642af877cf1">fmt::v5::internal::float_type_checker::on_hex</a></div><div class="ttdeci">void on_hex()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01240">format.h:1240</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__ref_html_ae2a99fa912b67cda62fcce7a7c7bc976"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__ref.html#ae2a99fa912b67cda62fcce7a7c7bc976">fmt::v5::internal::arg_ref::operator=</a></div><div class="ttdeci">arg_ref &amp; operator=(unsigned idx)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01716">format.h:1716</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1arg__formatter_html_adcd84c55fb1ae473917660743d000153"><div class="ttname"><a href="classfmt_1_1v5_1_1arg__formatter.html#adcd84c55fb1ae473917660743d000153">fmt::v5::arg_formatter::arg_formatter</a></div><div class="ttdeci">arg_formatter(context_type &amp;ctx, format_specs &amp;spec)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02182">format.h:2182</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_ad3b4a0f750f29748c08ff9882f05a832"><div class="ttname"><a href="namespacefmt_1_1v5.html#ad3b4a0f750f29748c08ff9882f05a832">fmt::v5::make_format_to_n_args</a></div><div class="ttdeci">format_arg_store&lt; typename format_to_n_context&lt; OutputIt, Char &gt;::type, Args... &gt; make_format_to_n_args(const Args &amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03371">format.h:3371</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1system__error_html_a663469e2ea1f8c0993909cf90c669270"><div class="ttname"><a href="classfmt_1_1v5_1_1system__error.html#a663469e2ea1f8c0993909cf90c669270">fmt::v5::system_error::error_code</a></div><div class="ttdeci">int error_code() const </div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02232">format.h:2232</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html_ad1d2a73db09717e1222e62d8e0f64e27"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html#ad1d2a73db09717e1222e62d8e0f64e27">fmt::v5::basic_memory_buffer::basic_memory_buffer</a></div><div class="ttdeci">basic_memory_buffer(const Allocator &amp;alloc=Allocator())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00481">format.h:481</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__writer_html_a01693cb5eb4849919d29bd0889c9adf3"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__writer.html#a01693cb5eb4849919d29bd0889c9adf3">fmt::v5::basic_writer::write</a></div><div class="ttdeci">void write(long double value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l02604">format.h:2604</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler_html_a5c4733e658ce853293a499f06461f7c9"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1dynamic__specs__handler.html#a5c4733e658ce853293a499f06461f7c9">fmt::v5::internal::dynamic_specs_handler::dynamic_specs_handler</a></div><div class="ttdeci">dynamic_specs_handler(const dynamic_specs_handler &amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01750">format.h:1750</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1back__insert__range_html_a7dbc83149304d1f6fff9d3ba81cc4e23"><div class="ttname"><a href="classfmt_1_1v5_1_1back__insert__range.html#a7dbc83149304d1f6fff9d3ba81cc4e23">fmt::v5::back_insert_range::value_type</a></div><div class="ttdeci">Container::value_type value_type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00355">format.h:355</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1back__insert__range_html_a7ac1989e9b9da2e27d42113a75ff8f33"><div class="ttname"><a href="classfmt_1_1v5_1_1back__insert__range.html#a7ac1989e9b9da2e27d42113a75ff8f33">fmt::v5::back_insert_range::back_insert_range</a></div><div class="ttdeci">back_insert_range(Container &amp;c)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00357">format.h:357</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null_html"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1decimal__formatter__null.html">fmt::v5::internal::decimal_formatter_null</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00886">format.h:886</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1arg__formatter__base_html_a4c6d77344d1e2c8327965b544adb03fb"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1arg__formatter__base.html#a4c6d77344d1e2c8327965b544adb03fb">fmt::v5::internal::arg_formatter_base::operator()</a></div><div class="ttdeci">std::enable_if&lt; std::is_floating_point&lt; T &gt;::value, iterator &gt;::type operator()(T value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01388">format.h:1388</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__string__view_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html">fmt::v5::basic_string_view</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00350">core.h:350</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1format__context__t_html_a3a779c0aeb8ba0ea1aed0b8c3b3b53c1"><div class="ttname"><a href="structfmt_1_1v5_1_1format__context__t.html#a3a779c0aeb8ba0ea1aed0b8c3b3b53c1">fmt::v5::format_context_t::type</a></div><div class="ttdeci">basic_format_context&lt; OutputIt, Char &gt; type</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03308">format.h:3308</a></div></div>
<div class="ttc" id="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler_html_a677c073f250fe756706c602548846794"><div class="ttname"><a href="structfmt_1_1v5_1_1internal_1_1arg__formatter__base_1_1cstring__spec__handler.html#a677c073f250fe756706c602548846794">fmt::v5::internal::arg_formatter_base::cstring_spec_handler::value</a></div><div class="ttdeci">const char_type * value</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01411">format.h:1411</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__string__view_html_a1d441ad98566cd1366f4ca348efacf22"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html#a1d441ad98566cd1366f4ca348efacf22">fmt::v5::basic_string_view::end</a></div><div class="ttdeci">iterator end() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00392">core.h:392</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1int__type__checker_html_af209985f05390106353bc61242343ca7"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1int__type__checker.html#af209985f05390106353bc61242343ca7">fmt::v5::internal::int_type_checker::on_oct</a></div><div class="ttdeci">void on_oct()</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l01223">format.h:1223</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_0c3a0641627b76fd80f03d211e44dc98.html">fmt</a></li><li class="navelem"><a class="el" href="dir_148a221396087d65c55fa0ea541856de.html">bundled</a></li><li class="navelem"><a class="el" href="format_8h.html">format.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
